repo: make build possible

This commit is contained in:
MultisampledNight 2024-01-11 00:36:58 +01:00
parent 48458fd1c9
commit 24ebca3e8d
No known key found for this signature in database
GPG key ID: 6D525AA147CBDAE2
2 changed files with 6 additions and 3 deletions

View file

@ -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"

View file

@ -36,7 +36,10 @@
rustfmt.enable = true;
};
packages = with pkgs; [just nushell typst];
packages = with pkgs; [
just nushell typst
mold
];
})
];
};