-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
46 lines (41 loc) · 1.28 KB
/
Copy pathdeny.toml
File metadata and controls
46 lines (41 loc) · 1.28 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
# cargo-deny configuration — spec §11 obligation 5 and
# docs/09-implementation-guide.md §1. CI fails on violations.
[graph]
all-features = true
[licenses]
allow = [
"AGPL-3.0-only", # this workspace
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"CC0-1.0",
"Unicode-3.0",
"Unicode-DFS-2016",
# The official Meshtastic Rust client (M4 mesh carrier). GPL-3.0 and
# AGPL-3.0 are mutually compatible via their respective §13 clauses.
"GPL-3.0",
# serialport (via meshtastic → tokio-serial). File-level copyleft,
# GPL-compatible per MPL-2.0 §3.3.
"MPL-2.0",
]
[advisories]
yanked = "deny"
ignore = [
# Compile-time proc-macro, archived by its author with no successor risk;
# pulled in by if-watch (libp2p QUIC/TCP). Not a vulnerability.
{ id = "RUSTSEC-2024-0436", reason = "paste is an unmaintained build-time proc-macro, not a runtime dependency" },
]
[bans]
multiple-versions = "warn"
# Deny wildcard *registry* deps; workspace path deps carry no version by design.
wildcards = "deny"
allow-wildcard-paths = true
[sources]
unknown-registry = "deny"
unknown-git = "deny"
# No git dependencies, period (docs/09-implementation-guide.md §1).
allow-git = []