Skip to content

Commit 28b6ed7

Browse files
committed
Exclude development script
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 d0f47a3 commit 28b6ed7

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
@@ -10,6 +10,7 @@ keywords = ["small", "vec", "vector", "stack", "no_std"]
1010
categories = ["data-structures"]
1111
readme = "README.md"
1212
documentation = "https://docs.rs/smallvec/"
13+
include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs"]
1314

1415
[features]
1516
const_generics = []

0 commit comments

Comments
 (0)