# Configuration for cargo deny, a tool we use to check licenses of our Rust dependencies. # https://embarkstudios.github.io/cargo-deny/ # Run locally with `cargo deny check`. [graph] targets=["aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl"] exclude-dev = true [bans] multiple-versions = "deny" skip = [ # bson 3.1 uses getrandom 0.3 (via ahash/rand 0.9) while its uuid dependency uses 0.4. { crate = "getrandom@0.3.4", reason = "upstream: bson" }, # string-interner 0.20 uses hashbrown 0.16, indexmap 2.14 uses 0.17. { crate = "hashbrown@0.16.1", reason = "upstream: string-interner" }, ] [licenses] version = 2 # Permissive licenses we accept across all Rust dependencies. allow = [ "Apache-2.0", "BSD-2-Clause", "ISC", "MIT", "Unicode-3.0", "Zlib" ] confidence-threshold = 1.0 # Don't try to guess licenses from text