diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2024-12-19 11:29:01 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2024-12-19 15:30:12 +0100 |
| commit | e2bc1a64c0829174e67971fd0fd933672c6b0fdc (patch) | |
| tree | 163ff327c4fbebd6810a983c1892e5cfaf044ad7 | |
| parent | d29b2ad00be47614c18b1850ffcab2e40f746f99 (diff) | |
| download | mullvadvpn-e2bc1a64c0829174e67971fd0fd933672c6b0fdc.tar.xz mullvadvpn-e2bc1a64c0829174e67971fd0fd933672c6b0fdc.zip | |
Restructure cargo bans section
| -rw-r--r-- | deny.toml | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -75,18 +75,20 @@ 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 clap 4, and want to avoid multiple versions + # 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" }, - # We are using tokio as our asynchronous runtime. Having multiple async runtimes - # is both error prone and too expensive (dependency chain, binary size etc) - { name = "async-std" }, - # We have managed to upgrade to hyper 1 and don't want to carry both { name = "hyper", version = "0" }, { name = "time", version = "0.1"}, ] |
