Skip to content

Commit 98d7171

Browse files
author
bors-servo
authored
Auto merge of #910 - upsuper:package-include, r=emilio
Only include necessary files in package We now have various files that are unnecessary for package, including the book, the release note template, and even a 1.3MB PNG file! This change makes us only include the necessary files (source files, build script, and metadata). Using whitelist so that we have fewer items, and it would be harder to regress.
2 parents 2996972 + 25ff9dc commit 98d7171

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Cargo.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ documentation = "https://docs.rs/bindgen"
1616
version = "0.29.0"
1717
build = "build.rs"
1818

19-
exclude = [
20-
"bindgen-integration",
21-
"ci",
22-
"tests/**",
23-
"*.orig",
19+
include = [
20+
"Cargo.toml",
21+
"build.rs",
22+
"src/*.rs",
2423
]
2524

2625
[badges]

0 commit comments

Comments
 (0)