commit b389ced12ab816f47f019e6cb3d4e21ba9c05eac
parent 261fc195a50acc116a964dc0fdc3ac21e69f5f17
Author: Zack Newman <zack@philomathiclife.com>
Date: Wed, 27 Mar 2024 13:51:35 -0600
add lints
Diffstat:
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "git_index"
readme = "README.md"
repository = "https://git.philomathiclife.com/repos/git_index/"
-version = "0.1.2"
+version = "0.1.3"
[[bin]]
name = "git_index"
@@ -18,7 +18,7 @@ path = "src/main.rs"
time = { version = "0.3.34", default-features = false, features = ["parsing"] }
[target.'cfg(target_os = "openbsd")'.dependencies]
-priv_sep = { version = "1.0.0", default-features = false, features = ["openbsd"] }
+priv_sep = { version = "1.0.1", default-features = false, features = ["openbsd"] }
[badges]
maintenance = { status = "actively-developed" }
diff --git a/src/main.rs b/src/main.rs
@@ -2,6 +2,14 @@
//!
//! Consult [`README.md`](https://git.philomathiclife.com/git_index/file/README.md.html).
#![deny(
+ future_incompatible,
+ let_underscore,
+ missing_docs,
+ nonstandard_style,
+ rust_2018_compatibility,
+ rust_2018_idioms,
+ rust_2021_compatibility,
+ rust_2024_compatibility,
unsafe_code,
unused,
warnings,