From b655d0e439da0da468e02d394e1189c5603fe752 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 12 Sep 2024 19:35:13 +0200 Subject: build: prevent warnings about unexpected cfgs --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Cargo.toml') 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)"] + -- cgit v1.2.3-18-g5258