# Configuration used for dependency checking with cargo-deny. # # For further details on all configuration options see: # https://embarkstudios.github.io/cargo-deny/checks/cfg.html targets = [ { triple = "x86_64-unknown-linux-gnu" }, { triple = "x86_64-apple-darwin" }, { triple = "x86_64-pc-windows-msvc" }, { triple = "aarch64-apple-darwin" }, { triple = "wasm32-unknown-unknown" }, ] # Deny all advisories unless explicitly ignored. [advisories] vulnerability = "allow" # "deny" # TODO: Re-enable when possible. unmaintained = "allow" # "deny" # TODO: Re-enable when possible. yanked = "allow" # "deny" # TODO: Re-enable when possible. notice = "allow" # "deny" # TODO: Re-enable when possible. ignore = [ "RUSTSEC-2021-0127" # serde_cbor ] # Deny multiple versions unless explicitly skipped. [bans] multiple-versions = "allow" # "deny" # TODO: Re-enable when possible. wildcards = "allow" # List of allowed licenses. [licenses] allow = [ "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "CC0-1.0", "ISC", "LicenseRef-ring", "MIT", "MPL-2.0", "Unicode-DFS-2016", "Zlib", ] copyleft = "deny" unlicensed = "deny" confidence-threshold = 0.8 [[licenses.clarify]] name = "ring" expression = "LicenseRef-ring" license-files = [ { path = "LICENSE", hash = 3171872035 } ] [sources] unknown-registry = "deny" unknown-git = "deny" allow-registry = ["https://github.com/rust-lang/crates.io-index"] allow-git = []