From 925d9c6cdf3e2b7f4096eaa88698b4f7684ab755 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 26 Oct 2025 13:47:10 -0700 Subject: [PATCH] Update blacksmith to Rust 2024 This updates blacksmith to the 2024 edition. --- blacksmith/Cargo.toml | 2 +- blacksmith/rustfmt.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 blacksmith/rustfmt.toml diff --git a/blacksmith/Cargo.toml b/blacksmith/Cargo.toml index 09cdc8d5e..202468243 100644 --- a/blacksmith/Cargo.toml +++ b/blacksmith/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mdbook-blacksmith" version = "0.1.0" -edition = "2021" +edition = "2024" description = "A mdbook preprocessor for generating dynamic content for Rust Forge." publish = false diff --git a/blacksmith/rustfmt.toml b/blacksmith/rustfmt.toml new file mode 100644 index 000000000..350113681 --- /dev/null +++ b/blacksmith/rustfmt.toml @@ -0,0 +1 @@ +style_edition = "2024"