From 07b154b61ca122ce1f771dc64a36873009cf1b39 Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Sat, 27 Jul 2024 12:12:21 -0700 Subject: [PATCH] suppress doc_cfg warning --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5dd9867e..d919f0c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,9 @@ repository = "https://github.com/tskit-dev/tskit-rust" rust-version = "1.71.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lints.rust] +# Added for rust 1.80.0 +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [profile.release] lto = "fat"