summaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml11
1 files changed, 10 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c79b3969ff..d517588917 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -45,8 +45,17 @@ members = [
# Security
non_ascii_idents = "forbid"
-# Modern, easy to read style and opinionated best practices
+# Deny old style Rust
rust_2018_idioms = "deny"
+macro_use_extern_crate = "deny"
+absolute_paths_not_starting_with_crate = "deny"
+
+# Easy to read style and opinionated best practices
+explicit_outlives_requirements = "warn"
+missing_abi = "deny"
+unused_lifetimes = "warn"
+unused_macro_rules = "warn"
+
[workspace.lints.clippy]
unused_async = "deny"