targets = [ { triple = "x86_64-unknown-linux-gnu" }, { triple = "x86_64-unknown-linux-musl" }, { triple = "x86_64-apple-darwin" }, { triple = "x86_64-pc-windows-msvc" }, ] [advisories] unmaintained = "deny" yanked = "deny" notice = "deny" unsound = "deny" vulnerability = "deny" ignore = [ # serde_cbor is unmaintained, used in criterion. # See https://github.com/bheisler/criterion.rs/issues/534 "RUSTSEC-2021-0127", # atty has unaligned read, used in criterion. # See https://github.com/bheisler/criterion.rs/issues/629 "RUSTSEC-2021-0145", ] [licenses] unlicensed = "deny" # We want really high confidence when inferring licenses from text confidence-threshold = 0.93 allow = [ "MIT", "BSD-3-Clause", "Apache-2.0", ] exceptions = [ { allow = [ "Unicode-DFS-2016", ], name = "unicode-ident" }, ] [bans] multiple-versions = "allow" # We don't maintain Cargo lockfile, so this isn't really feasible to deny wildcards = "deny" # Dependencies should not have be specified with '*' [sources] unknown-registry = "deny" # crates.io is allowed and a known register by default unknown-git = "deny"