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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# cargo-deny configuration for solid-pod-rs
#
# Licence: solid-pod-rs is AGPL-3.0-only, inherited from the JSS ecosystem
# covenant. The allowlist below permits AGPL-3.0 (the crate itself) plus the
# standard Rust-ecosystem permissive licences its dependencies use. Other
# restrictive / commercial licences remain denied via the "deny-by-default"
# posture: anything not on the allowlist fails the licence check.
#
# Reference: https://embarkstudios.github.io/cargo-deny/
[]
# Check all targets we support, including wasm32 for the memory-backend feature.
= [
{ = "x86_64-unknown-linux-gnu" },
{ = "x86_64-apple-darwin" },
{ = "aarch64-apple-darwin" },
{ = "x86_64-pc-windows-msvc" },
{ = "wasm32-unknown-unknown" },
]
= true
[]
= 1
# -----------------------------------------------------------------------------
# Advisories (RustSec database)
# -----------------------------------------------------------------------------
[]
= 2
= "~/.cargo/advisory-db"
= ["https://github.com/rustsec/advisory-db"]
# Deny all advisories by default. Any ignore must carry a rationale as a
# comment above the id. Unmaintained crates are also denied unless explicitly
# ignored.
= "deny"
= [
# No active ignores. Add entries below with a dated rationale:
# "RUSTSEC-YYYY-NNNN", # <date> <reason> — reviewed by <handle>
]
# -----------------------------------------------------------------------------
# Licences
# -----------------------------------------------------------------------------
[]
= 2
# Require every dependency to have a recognised licence.
= "allow"
= 0.93
= [
# solid-pod-rs itself
"AGPL-3.0-only",
"AGPL-3.0-or-later",
# Standard Rust-ecosystem permissive licences used by dependencies
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unlicense",
"CC0-1.0",
"Zlib",
"MPL-2.0",
"Unicode-DFS-2016",
"Unicode-3.0",
]
# AGPL is explicitly allowed (the crate inherits it from JSS). Other
# copyleft / commercial / source-available licences (e.g. BUSL, SSPL,
# Elastic-2.0, commercial-only) remain implicitly denied: anything not on
# the allowlist fails the licence check.
= []
[[]]
= "ring"
= "MIT AND ISC AND OpenSSL"
= [
{ = "LICENSE", = 0xbd0eed23 },
]
# -----------------------------------------------------------------------------
# Bans
# -----------------------------------------------------------------------------
[]
= "warn"
= "deny"
= "all"
= "allow"
= "allow"
# Specific crates we never want to pull in.
= [
# openssl — we use rustls everywhere. If this shows up it's a dep regression.
{ = "openssl" },
{ = "openssl-sys" },
# native-tls — same reason; rustls-only policy.
{ = "native-tls" },
]
# Hyper ecosystem regularly ships multiple versions during migrations. Allow
# duplicates we have audited.
= []
= []
# -----------------------------------------------------------------------------
# Sources
# -----------------------------------------------------------------------------
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]
= []
[]
= []