From 972f69634e590ab86b869b032eba86ca7519e318 Mon Sep 17 00:00:00 2001 From: Zac Harrold Date: Wed, 22 Jul 2026 14:39:37 +1000 Subject: [PATCH] meta: Explicitly include rather than exclude package members Added in 27a38e3bda16c72f1bff3af9432e2282427843df causes `cargo-deny` warnings due to the inclusion of an executable Python script. --- Cargo.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a8bb8088e622..446e97ec9f33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,15 @@ name = "libc" version = "1.0.0-alpha.4" keywords = ["libc", "ffi", "bindings", "operating", "system"] categories = ["external-ffi-bindings", "no-std", "os"] -exclude = ["/ci/*", "/.github/*", "/triagebot.toml"] +include = [ + "/src", + "/tests", + "/examples", + "/build.rs", + "/CHANGELOG*", + "/LICENSE*", + "/README*", +] description = "Raw FFI bindings to platform libraries like libc." edition = "2021" license = "MIT OR Apache-2.0"