Skip to content

Commit 013e0ef

Browse files
authored
Exclude development scripts (#56)
During a dependency review we noticed that the rustdoc-types 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 beeing included in the published packages to make sure that everything that's included is an conscious choice.
1 parent a07b907 commit 013e0ef

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
@@ -5,6 +5,7 @@ edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"
77
repository = "https://github.com/rust-lang/rustdoc-types"
8+
include = ["Cargo.toml", "CHANGELOG.md", "README.md", "LICENSE-MIT", "LICENSE-APACHE", "src/**/*.rs"]
89
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
910

1011
[dependencies]

0 commit comments

Comments
 (0)