Skip to content

Commit fd6346c

Browse files
authored
Exclude unneeded files from built package
1 parent fa6e23f commit fd6346c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ homepage = "https://github.com/mongodb/bson-rust"
1313
documentation = "https://docs.rs/crate/bson"
1414
edition = "2018"
1515

16+
# By default cargo include everything git include
17+
# cargo diet can help to manage what's not useful.
18+
exclude = [
19+
"etc/**",
20+
"examples/**",
21+
"fuzz/**",
22+
"serde-tests/**",
23+
"src/tests/**",
24+
"rustfmt.toml",
25+
".travis.yml",
26+
".evergreen/**",
27+
".gitignore"
28+
]
29+
1630
[features]
1731
# no features by default
1832
default = []

0 commit comments

Comments
 (0)