diff --git a/Cargo.toml b/Cargo.toml index bcaa60ca..52c26b59 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ exclude = ["sites"] [workspace.package] version = "0.0.1" edition = "2024" -rust-version = "1.95" +rust-version = "1.96" license = "MIT" authors = [ "Lewis ", diff --git a/bobbin/crates/types/src/lib.rs b/bobbin/crates/types/src/lib.rs index d6c0ac51..52d0dc01 100644 --- a/bobbin/crates/types/src/lib.rs +++ b/bobbin/crates/types/src/lib.rs @@ -12,6 +12,7 @@ extern crate alloc; clippy::should_implement_trait, clippy::type_complexity )] +#[rustfmt::skip] mod _lex; pub use _lex::*; diff --git a/flake.nix b/flake.nix index 361fd811..b86b0a8d 100644 --- a/flake.nix +++ b/flake.nix @@ -168,6 +168,7 @@ command = pkgs.lib.getExe' fenix.packages.${system}.stable.rustfmt "rustfmt"; options = ["--edition" "2024"]; includes = ["*.rs"]; + excludes = ["**/src/_lex/**"]; }; # prettier = let diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f85d0487..a3ff3e69 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.95.0" +channel = "1.96.0" components = ["rustfmt", "clippy"] targets = ["wasm32-unknown-unknown"] profile = "minimal"