Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
54 lines (48 loc) · 1.39 KB
/
Copy pathdeny.toml
File metadata and controls
54 lines (48 loc) · 1.39 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# cargo-deny configuration. See https://embarkstudios.github.io/cargo-deny/.
#
# Run locally with `cargo deny check`. CI runs the same command via
# `.github/workflows/ci.yml`.
[graph]
all-features = false
no-default-features = false
[advisories]
version = 2
yanked = "warn"
ignore = []
[bans]
# Default to warning so a duplicate dep does not break CI overnight; the
# `deny` list below upgrades specific crates to hard errors.
multiple-versions = "warn"
wildcards = "deny"
# Hard ban on the legacy rustls / rustls-webpki versions that the
# `aws-sdk-s3` legacy `rustls` feature pulled in (see Cargo.toml). Both
# carry open RUSTSEC advisories; if a future dependency bump
# reintroduces them, CI must fail loudly.
deny = [
{ name = "rustls", version = "<0.23" },
{ name = "rustls-webpki", version = "<0.103" },
]
[licenses]
version = 2
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-3-Clause",
"BSL-1.0",
# CDLA-Permissive-2.0: OSI-style permissive data license used by
# `webpki-root-certs` to cover the bundled certificate data (the
# crate code itself is Apache-2.0/MIT). Attribution-only; broadly
# compatible with Apache-2.0.
"CDLA-Permissive-2.0",
"CC0-1.0",
"ISC",
"MIT",
"MPL-2.0",
"Unicode-3.0",
"Zlib",
]
confidence-threshold = 0.9
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]