oxicode 0.2.5

A modern binary serialization library - successor to bincode
Documentation
# 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 = [
    # bincode is a dev-dependency only, used exclusively as the compatibility
    # oracle for oxicode's wire-format tests (compatibility/, tests/bincode_compat_test.rs).
    # It is intentionally pinned to =2.0.1 (see the `bans` ban on bincode>=3 above)
    # and never reaches consumers of the `oxicode` library. RUSTSEC-2025-0141
    # flags the upstream bincode project as unmaintained (not a vulnerability);
    # there is no upgrade path that preserves the 2.0.1 wire format we rely on
    # as a test oracle, so this advisory is accepted for the dev-dependency only.
    "RUSTSEC-2025-0141",
]

[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"]