Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
40 lines (37 loc) · 1.93 KB
/
Copy pathdeny.toml
File metadata and controls
40 lines (37 loc) · 1.93 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
[advisories]
version = 2
ignore = [
# chrono is unmaintained, with no maintained successor it names yet. It
# holds every timestamp the service stores and sends (150 files), so moving
# off it is its own change; no vulnerability is reported against it.
{ id = "RUSTSEC-2026-0543", reason = "chrono is unmaintained; no vulnerability, and no successor yet" },
]
[licenses]
version = 2
# Permissive dependencies and unchanged MPL library files may be distributed
# with SourceOrigin's code; retain their notices in source distributions.
allow = ["Apache-2.0", "MIT", "BSD-3-Clause", "ISC", "Unicode-3.0", "Zlib", "CDLA-Permissive-2.0", "MPL-2.0"]
exceptions = [
# lettre's quoted-printable encoder. 0BSD is public-domain equivalent, even
# more permissive than MIT, so it is allowed for this crate rather than everywhere.
{ crate = "quoted_printable", allow = ["0BSD"] },
# SourceOrigin's own non-commercial crates. PolyForm is allowed for them by name,
# never for third-party dependencies.
{ crate = "auth-service", allow = ["PolyForm-Noncommercial-1.0.0"] },
{ crate = "sourceorigin-web", allow = ["PolyForm-Noncommercial-1.0.0"] },
{ crate = "sourceorigin-repository", allow = ["PolyForm-Noncommercial-1.0.0"] },
{ crate = "sourceorigin-telemetry", allow = ["PolyForm-Noncommercial-1.0.0"] },
{ crate = "sourceorigin-ui", allow = ["PolyForm-Noncommercial-1.0.0"] },
{ crate = "xtask", allow = ["PolyForm-Noncommercial-1.0.0"] },
]
[bans]
# A `*` requirement accepts any future release, breaking or malicious.
# Workspace crates name their version (Cargo.toml) so they don't count as one.
wildcards = "deny"
# Duplicates come from dependencies' own requirements, which this workspace
# can't change; warning about them would only bury real failures.
multiple-versions = "allow"
# Crates come from crates.io only: never another registry or a Git repository.
[sources]
unknown-registry = "deny"
unknown-git = "deny"