From feafe08040b28dad4b1d77e9bf8cc525079ec731 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 27 Jan 2022 04:31:51 -0800 Subject: [PATCH] Exclude the `.github` directory in the published package. The .github, .rustfmt.toml, and .gitignore files aren't needed by downstream users of the crate, so exclude them from the published package. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 49fffb8..3203868 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/sunfishcode/linux-raw-sys" edition = "2018" keywords = ["linux", "uapi", "ffi"] categories = ["external-ffi-bindings"] -exclude = ["gen"] +exclude = ["/gen", "/.*"] [dependencies] core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }