commit 0ab49221b566b9badb330a2ef601eee0b5e638cc
parent 5b90bd0d9a37c7eecbf9d9bc9236b9248342787d
Author: Zack Newman <zack@philomathiclife.com>
Date: Wed, 27 Mar 2024 13:48:40 -0600
add lints
Diffstat:
3 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"
name = "calc_rational"
readme = "README.md"
repository = "https://git.philomathiclife.com/repos/calc_rational/"
-version = "1.0.0"
+version = "1.0.1"
[lib]
name = "calc_lib"
@@ -21,13 +21,13 @@ path = "src/main.rs"
[dependencies]
num-bigint = { version = "0.4.4", default-features = false }
-num-integer = { version = "0.1.45", default-features = false }
+num-integer = { version = "0.1.46", default-features = false }
num-rational = { version = "0.4.1", default-features = false, features = ["num-bigint"] }
-num-traits = { version = "0.2.17", default-features = false }
+num-traits = { version = "0.2.18", default-features = false }
rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"], optional = true }
[target.'cfg(target_os = "openbsd")'.dependencies]
-priv_sep = { version = "1.0.0", default-features = false, features = ["openbsd"], optional = true }
+priv_sep = { version = "1.0.1", default-features = false, features = ["openbsd"], optional = true }
[build-dependencies]
rustc_version = "0.4.0"
diff --git a/src/lib.rs b/src/lib.rs
@@ -110,6 +110,14 @@
#![no_std]
#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
#![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,
diff --git a/src/main.rs b/src/main.rs
@@ -3,6 +3,14 @@
//! Consult [`README.md`](https://crates.io/crates/calc_rational).
#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
#![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,