Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
57 lines (53 loc) · 2.15 KB
/
Copy pathdeny.toml
File metadata and controls
57 lines (53 loc) · 2.15 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
55
56
57
[advisories]
ignore = [
{ id = "RUSTSEC-2026-0543", reason = "The pinned s3s compatibility baselines require chrono. This maintenance advisory has no patched release." },
]
[licenses]
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
"MIT-0",
"Unicode-3.0",
"Unlicense",
"Zlib",
]
confidence-threshold = 0.8
# Each exception names one crate, so neither licence is admitted for anything else.
exceptions = [
# Mozilla's root-certificate data. Only the conformance runner links it, to reach an
# external HTTPS target; no gateway runtime crate does.
{ crate = "webpki-roots", allow = ["CDLA-Permissive-2.0"] },
# Reached only through the test-oracle git revisions allowed under [sources] below.
{ crate = "xxhash-rust", allow = ["BSL-1.0"] },
# Reached only through the excluded fuzz/ workspace for LLVM libFuzzer integration;
# no production gateway crate links it.
{ crate = "libfuzzer-sys", allow = ["NCSA"] },
]
[bans]
multiple-versions = "warn"
wildcards = "deny"
# Every workspace crate is `publish = false` and names its siblings by path alone. A registry
# dependency without a version is still denied.
allow-wildcard-paths = true
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# The s3s git sources, pinned by `rev` in crates/types/Cargo.toml: the test-oracle
# revisions, the legacy-stack builds RustFS 1.0.0-rc.5-preview.2 and 1.0.0-rc.6 shipped with,
# which the persistence-migration goldens are measured against; and the upstream s3s revision
# RustFS main links today, which the migration seam must share with `impl s3s::S3 for FS`
# (rustfs/backlog#2759). Neither is on crates.io, and an oracle must be the exact bytes those
# builds ran. The isolated SDK driver also pins the upstream SigV4a advisory fix from
# smithy-rs#4958 until it is released. Every git dependency must pin a `rev`.
allow-git = [
"https://github.com/rustfs/s3s.git",
"https://github.com/s3s-project/s3s",
"https://github.com/smithy-lang/smithy-rs",
]
required-git-spec = "rev"