Skip to content

Commit 01670ae

Browse files
committed
Exclude development scripts from published package
During a dependency review we noticed that the arbitary crate includes various development scripts. These development scripts shouldn't be there as they might, at some point become problematic. As of now they prevent any downstream user from enabling the `[bans.build.interpreted]` option of cargo deny. I opted for using an explicit include list instead of an exclude list to prevent these files from being included in the published packages to make sure that everything that's included is an conscious choice.
1 parent 69ac259 commit 01670ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ license = "MIT OR Apache-2.0"
1818
repository = "https://github.com/rust-fuzz/arbitrary/"
1919
documentation = "https://docs.rs/arbitrary/"
2020
rust-version = "1.63.0" # Keep in sync with version documented in the README.md
21+
include = ["Cargo.toml", "CHANGELOG.md", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs", "tests/**/*.rs", "examples/**/*.rs"]
2122

2223
[dependencies]
2324
derive_arbitrary = { version = "~1.4.0", path = "./derive", optional = true }

0 commit comments

Comments
 (0)