Lints and build commands

This commit is contained in:
2025-09-20 20:31:15 -06:00
parent 0d7edf525e
commit 80cc551c76
3 changed files with 26 additions and 0 deletions
+6
View File
@@ -8,9 +8,15 @@ license-file = "LICENSE.md"
resolver = "2"
rust-version = "1.85.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust]
arithmetic_overflow = "forbid"
missing_docs = "forbid"
unsafe_code = "forbid"
unused_doc_comments = "forbid"
[lints.clippy]
arithmetic_side_effects = "forbid"