48 lines
863 B
TOML
48 lines
863 B
TOML
# cargo-deny config — pinned to ≥ 0.16 schema
|
||
# Validated via openpencil-docs/superpowers/notes/2026-05-02-cargo-deny-validation.md
|
||
|
||
[graph]
|
||
all-features = false
|
||
|
||
[licenses]
|
||
allow = [
|
||
"MIT",
|
||
"Apache-2.0",
|
||
"Apache-2.0 WITH LLVM-exception",
|
||
"BSD-2-Clause",
|
||
"BSD-3-Clause",
|
||
"ISC",
|
||
"Unicode-DFS-2016",
|
||
"Unicode-3.0",
|
||
"CDLA-Permissive-2.0",
|
||
"MPL-2.0",
|
||
"Zlib",
|
||
]
|
||
confidence-threshold = 0.93
|
||
|
||
[advisories]
|
||
yanked = "deny"
|
||
ignore = []
|
||
|
||
[bans]
|
||
multiple-versions = "warn"
|
||
wildcards = "deny"
|
||
deny = [
|
||
# WASM bundle 黑名单(kickoff spec §1.2 invariant)
|
||
"pen-agent-cli",
|
||
"pen-server",
|
||
"agent",
|
||
"native-tls",
|
||
]
|
||
|
||
[[bans.features]]
|
||
crate = "tokio"
|
||
deny = ["process", "rt-multi-thread"]
|
||
|
||
[sources]
|
||
unknown-registry = "deny"
|
||
unknown-git = "deny"
|
||
allow-git = [
|
||
"https://github.com/ZSeven-W/agent-rs",
|
||
]
|