targets = [ { triple = "x86_64-unknown-linux-gnu" }, { triple = "x86_64-pc-windows-gnu" }, { triple = "x86_64-apple-darwin" }, { triple = "aarch64-apple-darwin" } ] # This section is considered when running `cargo deny check advisories` # More documentation for the advisories section can be found here: # https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html [advisories] db-path = "~/.cargo/advisory-db" db-urls = ["https://github.com/rustsec/advisory-db"] vulnerability = "deny" unmaintained = "warn" yanked = "deny" notice = "deny" ignore = [ ] #severity-threshold = # This section is considered when running `cargo deny check licenses` # More documentation for the licenses section can be found here: # https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html [licenses] # The lint level for crates which do not have a detectable license unlicensed = "deny" # Adding a license here has to be done carefully. Should not be changed # by individual developers. allow = [ "GPL-3.0", "Apache-2.0", "MIT", "WTFPL", "ISC", "BSD-3-Clause", "BSD-2-Clause", "CC0-1.0", # https://github.com/briansmith/ring/issues/902 "LicenseRef-ring", "Unicode-DFS-2016" ] deny = [] copyleft = "allow" allow-osi-fsf-free = "neither" default = "deny" confidence-threshold = 0.8 exceptions = [] [[licenses.clarify]] name = "ring" expression = "LicenseRef-ring" license-files = [ { path = "LICENSE", hash = 0xbd0eed23 } ] [licenses.private] ignore = false registries = [] # This section is considered when running `cargo deny check bans`. # More documentation about the 'bans' section can be found here: # https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html [bans] multiple-versions = "warn" wildcards = "warn" highlight = "all" allow = [] deny = [ # We are using Rustls for TLS. We don't want to accidentally pull in # anything OpenSSL related { name = "openssl-sys" }, { name = "openssl-src" }, { name = "openssl-probe" }, { name = "clap", version = "2" }, { name = "clap", version = "3" }, # `atty` is an unmaintained crate with a CVE: RUSTSEC-2021-0145 { name = "atty" }, { name = "time", version = "0.1"}, ] skip = [] skip-tree = [] # This section is considered when running `cargo deny check sources`. # More documentation about the 'sources' section can be found here: # https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html [sources] unknown-registry = "deny" unknown-git = "deny" allow-registry = ["https://github.com/rust-lang/crates.io-index"] # TODO: The PF socket type isn't released yet allow-git = ["https://github.com/nix-rust/nix"] [sources.allow-org] # 1 or more github.com organizations to allow git sources for github = ["mullvad"]