diff --git a/Cargo.toml b/Cargo.toml index 1fc1618..2f5ec17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,11 +10,11 @@ resolver = "2" clap = { version = "4", features = [ "derive" ] } serde = { version = "1.0", features = [ "derive" ] } -[lints.rust] +[workspace.lints.rust] unsafe_code = "deny" variant_size_differences = "warn" -[lints.clippy] +[workspace.lints.clippy] branches_sharing_code = "warn" clone_on_ref_ptr = "warn" cognitive_complexity = "warn" diff --git a/flake.nix b/flake.nix index ab394bf..ffbb283 100644 --- a/flake.nix +++ b/flake.nix @@ -36,7 +36,10 @@ rustfmt.enable = true; }; - packages = with pkgs; [just nushell typst]; + packages = with pkgs; [ + just nushell typst + mold + ]; }) ]; };