From cb94730ced1778ae01b6d31abe471c62bd57ca80 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 31 May 2025 07:28:39 +0000 Subject: chore(Cargo): Bump Rust edition --- .cargo/config | 3 --- .cargo/config.toml | 2 ++ Cargo.toml | 10 ++++++++-- rustfmt.toml | 4 ++-- 4 files changed, 12 insertions(+), 7 deletions(-) delete mode 100644 .cargo/config create mode 100644 .cargo/config.toml diff --git a/.cargo/config b/.cargo/config deleted file mode 100644 index 958d7fc..0000000 --- a/.cargo/config +++ /dev/null @@ -1,3 +0,0 @@ -[build] -rustflags = ["-C", "target-cpu=native"] - diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..ddff440 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +rustflags = ["-C", "target-cpu=native"] diff --git a/Cargo.toml b/Cargo.toml index 61892e2..5bbf004 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,13 +2,19 @@ name = "para-cli" version = "0.1.0" authors = ["Fuwn "] -edition = "2021" +edition = "2024" description = "Decoder and utility for the Flipnote Studios .ppm animation format." readme = "README.md" homepage = "https://github.com/Usugata/para" repository = "https://github.com/Usugata/para" license = "MIT" -keywords = ["ppm", "nintendo-hacking", "flipnote", "flipnotestudio", "nintendo-dsi"] +keywords = [ + "ppm", + "nintendo-hacking", + "flipnote", + "flipnotestudio", + "nintendo-dsi", +] categories = ["encoding"] [[bin]] diff --git a/rustfmt.toml b/rustfmt.toml index 27653e1..478e75e 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,4 @@ -edition = "2021" +edition = "2024" enum_discrim_align_threshold = 40 # error_on_line_overflow = true # error_on_unformatted = true @@ -20,5 +20,5 @@ tab_spaces = 2 use_field_init_shorthand = true use_small_heuristics = "Max" use_try_shorthand = true -version = "Two" +style_edition = "2024" wrap_comments = true -- cgit v1.2.3