From 24ebca3e8dfdb4d043598e0f98feebf705009964 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 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 + ]; }) ]; };