par-term 0.30.10

Cross-platform GPU-accelerated terminal emulator with inline graphics support (Sixel, iTerm2, Kitty)
# cargo-deny configuration for par-term
# https://embarkstudios.github.io/cargo-deny/
#
# Run locally:  cargo deny check
# Install:      cargo install cargo-deny
#
# This file audits:
#   - advisories: known security vulnerabilities (RustSec)
#   - licenses:   OSI-approved / permissive only
#   - bans:       duplicate crate versions and explicit denylists
#   - sources:    only crates.io and known git sources

[graph]
# Treat these targets when checking. Omitting the field checks all targets.
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "aarch64-apple-darwin",
    "x86_64-pc-windows-msvc",
]

# ---------------------------------------------------------------------------
# Advisories (RustSec vulnerability database)
# ---------------------------------------------------------------------------
[advisories]
# Path to a local advisory database clone. Leave unset to use the default
# fetched copy (~/.cargo/advisory-db).
# db-path = "~/.cargo/advisory-db"

# The URL(s) of the advisory databases to use.
db-urls = ["https://github.com/rustsec/advisory-db"]

# The lint level for security vulnerabilities.
vulnerability = "deny"

# The lint level for unmaintained crates.
unmaintained = "warn"

# The lint level for crates that have been yanked from their source registry.
yanked = "warn"

# The lint level for crates with security notices (non-critical).
notice = "warn"

# A list of advisory IDs to ignore. Add entries here only with a comment
# explaining why the advisory does not apply to this project.
ignore = [
    # Example (do not uncomment without justification):
    # "RUSTSEC-2020-0001",  # Reason: only affects the X feature which we don't use
]

# ---------------------------------------------------------------------------
# Licenses
# ---------------------------------------------------------------------------
[licenses]
# Confidence threshold for license text detection (0.0–1.0).
confidence-threshold = 0.8

# Allowed licenses (SPDX identifiers).
allow = [
    "MIT",
    "Apache-2.0",
    "Apache-2.0 WITH LLVM-exception",
    "BSD-2-Clause",
    "BSD-3-Clause",
    "ISC",
    "Unicode-3.0",
    "Unicode-DFS-2016",
    "Zlib",
    "CC0-1.0",
    "MPL-2.0",
    "OpenSSL",
]

# Crates whose license cannot be detected automatically but are known-good.
# Provide the SPDX expression alongside the crate name.
exceptions = [
    # Example: { allow = ["LicenseRef-ring"], name = "ring", version = "*" }
]

# ---------------------------------------------------------------------------
# Bans
# ---------------------------------------------------------------------------
[bans]
# Lint level for when multiple versions of the same crate are detected.
multiple-versions = "warn"

# Lint level for wildcard dependencies (e.g. dep = "*").
wildcards = "deny"

# The graph highlights used when outputting the bans section.
highlight = "deepest"

# Crates that are allowed to have multiple versions (commonly unavoidable
# due to transitive dependencies from separate ecosystems).
skip = [
    # Example: { name = "bitflags", version = "1" }
]

# Crates that are completely banned from the dependency tree.
deny = [
    # Avoid the unmaintained `term` crate.
    { name = "term" },
]

# ---------------------------------------------------------------------------
# Sources
# ---------------------------------------------------------------------------
[sources]
# Lint level for crates from unknown registries.
unknown-registry = "deny"

# Lint level for crates from unknown git sources.
unknown-git = "deny"

# List of allowed registries (in addition to crates.io).
allow-registry = ["https://github.com/rust-lang/crates.io-index"]

# List of git hosts/URLs allowed as dependency sources.
allow-git = [
    # Add known git dependencies here if any are used.
    # Example: "https://github.com/paulrobello/some-dep"
]