summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2024-12-19 16:06:28 +0100
committerLinus Färnstrand <linus@mullvad.net>2024-12-19 16:06:28 +0100
commite73ab2e962136f60d45ada5ad21e78a289088396 (patch)
tree1d218c2cacef3a902138834ae0e2fcb248d90da0
parentd3f6d3c858dd8c834a7ac9fe2c679e14a6af8236 (diff)
parent2a8442f163cfd499f0771dc54228d28358765640 (diff)
downloadmullvadvpn-e73ab2e962136f60d45ada5ad21e78a289088396.tar.xz
mullvadvpn-e73ab2e962136f60d45ada5ad21e78a289088396.zip
Merge branch 'ban-more-unwanted-crates'
-rw-r--r--deny.toml13
1 files changed, 11 insertions, 2 deletions
diff --git a/deny.toml b/deny.toml
index 9ed9d3b5c6..d08fbc068b 100644
--- a/deny.toml
+++ b/deny.toml
@@ -75,13 +75,22 @@ wildcards = "warn"
highlight = "all"
deny = [
- # We are using Rustls for TLS. We don't want to accidentally pull in
- # anything OpenSSL related
+ ## Alternative ecosystems that we don't want to accidentally pull in.
+ ## Having multiple large ecosystems solving the same problem can often be problematic,
+ ## and also expensive from a compile time/binary size/supply chain security perspective.
+
+ # We are using Rustls, so we want to avoid OpenSSL
{ name = "openssl-sys" },
{ name = "openssl-src" },
{ name = "openssl-probe" },
+ # We are using tokio, so we want to avoid async-std
+ { name = "async-std" },
+
+ ## Older versions of crates where we only want to use the newer variants
{ name = "clap", version = "2" },
{ name = "clap", version = "3" },
+ { name = "hyper", version = "0" },
+ { name = "tokio", version = "0" },
{ name = "time", version = "0.1"},
]