Skip to content

Commit e73ab2e

Browse files
committed
Merge branch 'ban-more-unwanted-crates'
2 parents d3f6d3c + 2a8442f commit e73ab2e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

deny.toml

+11-2
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,22 @@ wildcards = "warn"
7575
highlight = "all"
7676

7777
deny = [
78-
# We are using Rustls for TLS. We don't want to accidentally pull in
79-
# anything OpenSSL related
78+
## Alternative ecosystems that we don't want to accidentally pull in.
79+
## Having multiple large ecosystems solving the same problem can often be problematic,
80+
## and also expensive from a compile time/binary size/supply chain security perspective.
81+
82+
# We are using Rustls, so we want to avoid OpenSSL
8083
{ name = "openssl-sys" },
8184
{ name = "openssl-src" },
8285
{ name = "openssl-probe" },
86+
# We are using tokio, so we want to avoid async-std
87+
{ name = "async-std" },
88+
89+
## Older versions of crates where we only want to use the newer variants
8390
{ name = "clap", version = "2" },
8491
{ name = "clap", version = "3" },
92+
{ name = "hyper", version = "0" },
93+
{ name = "tokio", version = "0" },
8594
{ name = "time", version = "0.1"},
8695
]
8796

0 commit comments

Comments
 (0)