Skip to content

Commit fe1abef

Browse files
authored
Exclude development script (#400)
During a dependency review we noticed that the smallvec crate includes a development script. This development script 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 beeing included in the published packages to make sure that everything that's included is an conscious choice.
1 parent 4dff9f2 commit fe1abef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ keywords = ["small", "vec", "vector", "stack", "no_std"]
1111
categories = ["data-structures"]
1212
readme = "README.md"
1313
documentation = "https://docs.rs/smallvec/"
14+
include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs"]
1415

1516
[features]
1617
std = []

0 commit comments

Comments
 (0)