c2patool 0.28.2

Tool for displaying and creating C2PA manifests.
# Configuration used for dependency checking with cargo-deny.
#
# For further details on all configuration options see:
# https://embarkstudios.github.io/cargo-deny/checks/cfg.html

[graph]
targets = [
    { triple = "x86_64-unknown-linux-gnu" },
    { triple = "x86_64-apple-darwin" },
    { triple = "x86_64-pc-windows-msvc" },
    { triple = "aarch64-apple-darwin" },
    { triple = "wasm32-unknown-unknown" },
]

[advisories]
yanked = "deny"
ignore = [
  "RUSTSEC-2023-0071", # rsa Marvin Attack: (https://jira.corp.adobe.com/browse/CAI-5104)
  "RUSTSEC-2024-0370", # proc-macro-error
]

[bans]
multiple-versions = "allow" # "deny" # TODO: Re-enable when possible.

[licenses]
allow = [
  "Apache-2.0",
  "BSD-2-Clause",
  "BSD-3-Clause",
  # "CC0-1.0",
  "ISC",
  # "LicenseRef-ring",
  "MIT",
  "MPL-2.0",
  "Unicode-3.0",
  # "Unicode-DFS-2016",
  "Zlib",
  "CDLA-Permissive-2.0",
]
confidence-threshold = 0.9

[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [
  { path = "LICENSE", hash = 3171872035 }
]

[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# main's own c2pa dependency (see docs/release-process.md, "Tracking
# c2pa-rs main") -- intentional there, never present on a release branch
# (check-no-patch-deps.yml enforces that separately).
allow-git = ["https://github.com/contentauth/c2pa-rs"]