From 797230008819759103587b19e1a081856eca0b8f Mon Sep 17 00:00:00 2001 From: Benjamin Brienen Date: Thu, 26 Dec 2024 19:32:58 -0500 Subject: [PATCH] allow internal features --- Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 470c000..e1dd851 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,15 +46,13 @@ std_instead_of_core = "warn" std_instead_of_alloc = "warn" alloc_instead_of_core = "warn" -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] } - [workspace.lints.rust] missing_docs = "warn" unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] } unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn" unused_qualifications = "warn" +internal_features = { level = "allow" } [package.metadata.docs.rs] # This cfg is needed so that #[doc(fake_variadic)] is correctly propagated for