-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdeny.toml
More file actions
45 lines (41 loc) · 1.59 KB
/
Copy pathdeny.toml
File metadata and controls
45 lines (41 loc) · 1.59 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
# cargo-deny configuration. See https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = false
no-default-features = false
[licenses]
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception", # target-lexicon (via pyo3-build-config)
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"CC0-1.0",
"Zlib",
"LGPL-3.0", # horned-owl
]
confidence-threshold = 0.93
[bans]
multiple-versions = "warn"
wildcards = "deny"
[advisories]
yanked = "deny"
# RUSTSEC-2026-0194 / -0195: DoS advisories in `quick-xml` (quadratic attribute
# scan; unbounded namespace-declaration allocation in `NsReader`) — both trigger
# only on maliciously-malformed XML. Pulled in transitively via horned-owl's
# OWX/RDF readers (three quick-xml majors in the tree: 0.26/0.31/0.37); no
# patched release exists within any dependent's semver range as of 2026-07-02.
# Low risk here: rustdl parses user-supplied ontology files (not untrusted network
# input), and the impact is DoS, not memory-unsafety/RCE. Remove once a patched
# quick-xml propagates through horned-owl (our pinned fork) and the transitive deps.
ignore = ["RUSTSEC-2026-0194", "RUSTSEC-2026-0195"]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# Temporary: the horned-owl [patch] points at our fork carrying the Manchester
# io/omn writer (not yet upstream). Remove once the upstream PR lands and the
# [patch] in Cargo.toml is dropped. See the manchester-io spec.
allow-git = ["https://github.com/micheldumontier/horned-owl"]