summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-08-13 18:24:05 -0500
committerGitHub <noreply@github.com>2017-08-13 18:24:05 -0500
commit98d7171ff50fae9a29a29f17738cb75d7ef2bc16 (patch)
tree1ba57661b059c9e2c41540c403121a43ca135e64
parent2996972c0607dc20bb4b212ec35cc58a5a8d8074 (diff)
parent25ff9dc680d92178fb9830d34d9a027a7a76d27b (diff)
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.
-rw-r--r--Cargo.toml9
1 files changed, 4 insertions, 5 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d384b8bf..30c319f7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,11 +16,10 @@ documentation = "https://docs.rs/bindgen"
version = "0.29.0"
build = "build.rs"
-exclude = [
- "bindgen-integration",
- "ci",
- "tests/**",
- "*.orig",
+include = [
+ "Cargo.toml",
+ "build.rs",
+ "src/*.rs",
]
[badges]