-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
36 lines (32 loc) · 1.38 KB
/
Copy pathdeny.toml
File metadata and controls
36 lines (32 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# cargo-deny configuration — https://embarkstudios.github.io/cargo-deny/
#
# Run locally with `cargo deny check` (requires `cargo install cargo-deny --locked`).
# CI installs a pinned prebuilt binary (see .github/workflows/ci.yml) so this
# file is the single source of truth for what's allowed in the dependency graph.
[advisories]
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "deny"
# Fails the check if an unmaintained advisory applies to a crate that is a
# direct dependency of a workspace crate (transitive-only unmaintained deps
# are not fatal). If this starts failing, either migrate off the crate or add
# an explicit ignore with a tracking issue below.
unmaintained = "workspace"
ignore = [
# "RUSTSEC-XXXX-YYYY", # crate-name: reason + tracking issue link
]
[bans]
# Duplicate versions of the same crate bloat builds but aren't a hard failure
# on their own. Surface them without blocking merges.
multiple-versions = "warn"
wildcards = "deny"
deny = []
[licenses]
# Workspace itself is MIT (see Cargo.toml). allow-list covers the licenses used
# across the current dependency tree plus common permissive variants.
allow = ["MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", "BSD-3-Clause", "Unicode-3.0"]
confidence-threshold = 0.8
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []