From 276d23d1f2bc87ef11244fab1f7258a4df30d119 Mon Sep 17 00:00:00 2001 From: MultisampledNight Date: Thu, 11 Jan 2024 00:36:58 +0100 Subject: [PATCH] repo: make build possible --- Cargo.toml | 4 ++-- flake.nix | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6aa4943..ee01200 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,11 +9,11 @@ resolver = "2" [workspace.dependencies] clap = { version = "4", 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 + ]; }) ]; };