hvac-transcoder 5.2.2

GPU-accelerated media transcoder (HEVC/h265 via NVENC, VAAPI, VideoToolbox). Single-binary Tdarr alternative.
# cargo-deny configuration: license + advisory + ban + source policies
# for the hvac dependency tree.  Run locally with `cargo deny check`.
#
# This file is the source of truth for what supply-chain hygiene CI
# enforces; the `deny` job in .github/workflows/ci.yml runs the same
# command. If you're adding a dependency that fails any check below,
# either pick a different dep or add a justified exception here with a
# comment explaining why.

[graph]
# Restrict to the targets we actually ship binaries for.  Cuts out
# Windows-only / wasm-only crates from the advisory + license check.
targets = [
    { triple = "x86_64-unknown-linux-gnu" },
    { triple = "aarch64-unknown-linux-gnu" },
    { triple = "x86_64-apple-darwin" },
    { triple = "aarch64-apple-darwin" },
]
all-features = true

[advisories]
version = 2
# yanked = "deny" means a yanked dep fails the build. RustSec doesn't
# auto-yank for vulnerabilities — fail those via the advisories DB.
yanked = "deny"
ignore = []

[licenses]
version = 2
# Permissive licenses we're happy to ship.  hvac itself is MIT.
allow = [
    "MIT",
    "Apache-2.0",
    "Apache-2.0 WITH LLVM-exception",
    "BSD-2-Clause",
    "BSD-3-Clause",
    "ISC",
    "Unicode-3.0",
    "Unicode-DFS-2016",
    "MPL-2.0",  # weak copyleft; fine for linking
    "Zlib",
    "CC0-1.0",
    # CDLA-Permissive-2.0 is the Linux Foundation's permissive
    # data license; webpki-roots 0.26.11+ and 1.0.7 ship the
    # Mozilla CA bundle under it. SPDX-listed permissive license,
    # safe for redistribution alongside an MIT binary. Pulled in
    # transitively via hyper-rustls / rustls — no direct dep.
    "CDLA-Permissive-2.0",
]
# 0.8 = "at least 80 % confidence the detected license matches a
# Spec license-id".  Crates that score lower need an explicit
# `clarify` entry below.
confidence-threshold = 0.8

# `unused-allowed-license = "warn"` flags entries in the `allow` list
# above that nothing in the graph actually uses — purely a hygiene check
# on this config file, not a check on the crates themselves. The real
# guardrail against unlicensed crates is the `allow` list: anything
# without a matching license-id (or a `clarify` override) fails the
# build automatically.
unused-allowed-license = "warn"

[bans]
# Two crates with identical names at different versions usually means
# we have a transitive dep pinning an older minor.  Warn so we notice;
# the explicit `deny` list catches truly problematic duplicates.
multiple-versions = "warn"
wildcards = "deny"
# Deny known-bad crates here as we discover them.  Empty by default.
deny = []

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