[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"
ignore = [
]

[licenses]
unlicensed = "deny"
copyleft = "deny"
allow = [
    "MIT",
    "MIT-0",
    "Apache-2.0",
    "BSD-3-Clause",
    "ISC",
    "Zlib",
    "0BSD",
    "BSD-2-Clause",
    "CC0-1.0",
]
exceptions = [
    { name = "unicode-ident", allow = ["Unicode-DFS-2016"] },
]
default = "deny"

[bans]
multiple-versions = "deny"
wildcards = "deny"
highlight = "all"
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
    { name = "ahash", version = "0.7" },
    { name = "bitflags", version = "1.3" },
    { name = "core-foundation-sys", version = "0.6" },
    { name = "jni", version = "0.19" },
    { name = "hashbrown", version = "0.12"},
    { name = "libloading", version = "0.7"},
    { name = "miniz_oxide", version = "0.6"},
    { name = "nix", version = "0.24" },
    { name = "redox_syscall", version = "0.2" },
    { name = "regex-syntax", version = "0.6"},
    { name = "syn", version = "1.0"},
    { name = "windows", version = "0.44"},
    { name = "windows", version = "0.46"},
    { name = "windows-sys", version = "0.45" },
    { name = "windows-targets", version = "0.42"},
    { name = "windows_aarch64_gnullvm", version = "0.42"},
    { name = "windows_aarch64_msvc", version = "0.42"},
    { name = "windows_i686_gnu", version = "0.42"},
    { name = "windows_i686_msvc", version = "0.42"},
    { name = "windows_x86_64_gnu", version = "0.42"},
    { name = "windows_x86_64_gnullvm", version = "0.42"},
    { name = "windows_x86_64_msvc", version = "0.42"},
]

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