Elffuss BraidHub

utopia-ia/elffuss-braid public

2da7deeea818 · 1.0 KiBRawPermalink
1# cargo-deny configuration: which licences, sources and crates braid accepts.
2
3[graph]
4all-features = true
5
6[advisories]
7yanked = "deny"
8
9[licenses]
10# Everything here is compatible with Apache-2.0. GPL, LGPL and AGPL are not
11# listed, so they fail the check.
12allow = [
13 "Apache-2.0",
14 "Apache-2.0 WITH LLVM-exception",
15 "MIT",
16 "BSD-2-Clause",
17 "BSD-3-Clause",
18 "ISC",
19 "Zlib",
20 "CC0-1.0",
21 "Unicode-3.0",
22 "BSL-1.0",
23 "Unlicense",
24]
25confidence-threshold = 0.9
26unused-allowed-license = "allow"
27
28[bans]
29multiple-versions = "warn"
30wildcards = "deny"
31allow-wildcard-paths = true
32deny = [
33 # libgit2 is GPLv2 with a linking exception and C; braid uses gitoxide.
34 { crate = "git2", reason = "braid uses gitoxide for git interop" },
35 { crate = "libgit2-sys", reason = "braid uses gitoxide for git interop" },
36 { crate = "openssl-sys", reason = "use rustls" },
37]
38
39[sources]
40unknown-registry = "deny"
41unknown-git = "deny"
42allow-registry = ["https://github.com/rust-lang/crates.io-index"]