aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml4
-rw-r--r--macros/Cargo.toml4
2 files changed, 8 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 89fbcd1..5afb4a1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -59,3 +59,7 @@ members = [
"examples/with-3rd-party/third-party-lib",
]
+[lints.rust.unexpected_cfgs]
+level = "warn"
+check-cfg = ["cfg(doc_cfg)", "cfg(tarpaulin_include)"]
+
diff --git a/macros/Cargo.toml b/macros/Cargo.toml
index 890c9f3..adf4eda 100644
--- a/macros/Cargo.toml
+++ b/macros/Cargo.toml
@@ -41,3 +41,7 @@ pretty_assertions = "1.3.0"
syn = { version = "1.0.96", features = ["full", "extra-traits"] }
utility-macros = { git = "https://git.hampusmat.com/utility-macros" }
+[lints.rust.unexpected_cfgs]
+level = "warn"
+check-cfg = ["cfg(doc_cfg)", "cfg(tarpaulin_include)", "cfg(syrette_macros_logging)"]
+