Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
36 lines (32 loc) · 1.35 KB
/
Copy pathdeny.toml
File metadata and controls
36 lines (32 loc) · 1.35 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: security advisories, license policy, and source
# allowlisting for the dependency tree. Run locally with `cargo deny check`; the
# CI `Dependencies` job runs the same check on every dependency change.
[advisories]
# RUSTSEC advisories. Fail on vulnerable, unsound, or unmaintained crates (the
# defaults) and on any crate resolved to a yanked version. Add crate-specific
# waivers to `ignore` with a comment justifying each.
yanked = "deny"
ignore = []
[licenses]
# The crate is Apache-2.0; only permissive, redistribution-compatible licenses
# are allowed in the tree. Every dependency's SPDX expression must be satisfiable
# from this set - note the `AND` expressions in the tree (e.g. `MIT AND
# BSD-3-Clause`, `... AND Unicode-3.0`) require every listed term to be allowed.
allow = [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"Unicode-3.0",
# Permissive, OSI-approved. Pulled in by the rustls TLS stack used for the LFS
# HTTPS transfer: ring (Apache-2.0 AND ISC), rustls-webpki, and untrusted.
"ISC",
]
confidence-threshold = 0.9
[bans]
# Surface, but do not fail on, duplicate versions of a crate so dependency bloat
# stays visible without blocking unrelated work.
multiple-versions = "warn"
[sources]
# crates.io only: reject crates from unknown registries or git sources.
unknown-registry = "deny"
unknown-git = "deny"