Upgrade to the Rust 2024 edition (#2367)

* Update to rust 2024 edition

* Fixes

* Clean up imports

* Cargo fmt again

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Dennis Kobert
2025-03-12 17:29:12 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 927d7dd9b2
commit beb1c6ae64
253 changed files with 980 additions and 1371 deletions
+1 -2
View File
@@ -33,7 +33,7 @@ let
rustc-wasm = pkgs.rust-bin.stable.latest.default.override {
targets = [ "wasm32-unknown-unknown" ];
# wasm-pack needs this
extensions = [ "rust-src" "rust-analyzer" "clippy"];
extensions = [ "rust-src" "rust-analyzer" "clippy" "cargo"];
};
in
# Make a shell with the dependencies we need
@@ -41,7 +41,6 @@ in
packages = with pkgs; [
rustc-wasm
nodejs
cargo
cargo-watch
cargo-nextest
cargo-expand