# cargo-deny configuration for oxicode
# Enforces that bincode 3.x is never introduced (3.0 has incompatible API).
# bincode is a dev-dependency only; we intentionally pin to =2.0.1.

[graph]
all-features = true

[bans]
multiple-versions = "warn"
wildcards = "allow"
# Deny bincode >= 3.0.0 — the 3.x series has a breaking API change and must
# never be pulled in transitively or accidentally upgraded to.
deny = [
    { crate = "bincode@>=3", reason = "bincode 3.x has incompatible API; oxicode intentionally pins =2.0.1" },
]

[advisories]
ignore = []

[licenses]
# Allow all common open-source licenses used in the Rust ecosystem.
allow = [
    "MIT",
    "Apache-2.0",
    "Apache-2.0 WITH LLVM-exception",
    "BSD-2-Clause",
    "BSD-3-Clause",
    "ISC",
    "Unicode-3.0",
    "Zlib",
]
confidence-threshold = 0.8

[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
