/ deny.toml
deny.toml
 1  # Alpha/Delta cargo-deny configuration
 2  # https://embarkstudios.github.io/cargo-deny/
 3  # Updated for cargo-deny 0.19.0
 4  
 5  [graph]
 6  all-features = true
 7  
 8  [advisories]
 9  db-path = "~/.cargo/advisory-db"
10  db-urls = ["https://github.com/rustsec/advisory-db"]
11  # Severity threshold (unmaintained/yanked not enforced)
12  unmaintained = "none"
13  yanked = "warn"
14  ignore = []
15  
16  [licenses]
17  allow = [
18      "MIT",
19      "Apache-2.0",
20      "Apache-2.0 WITH LLVM-exception",
21      "BSD-2-Clause",
22      "BSD-3-Clause",
23      "ISC",
24      "Zlib",
25      "0BSD",
26      "CC0-1.0",
27      "MPL-2.0",
28      "Unicode-3.0",
29      "Unicode-DFS-2016",
30      "Unlicense",
31      "CDLA-Permissive-2.0",
32      "GPL-3.0",  # ac-dc workspace crates use GPL-3.0
33  ]
34  
35  [[licenses.clarify]]
36  name = "ring"
37  expression = "ISC AND MIT AND OpenSSL"
38  license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
39  
40  [[licenses.clarify]]
41  name = "webpki"
42  expression = "ISC"
43  license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
44  
45  [bans]
46  multiple-versions = "warn"
47  wildcards = "allow"
48  skip = []
49  deny = [
50      { name = "openssl", wrappers = ["openssl-sys"] },
51  ]
52  
53  [bans.build]
54  allow-build-scripts = ["*"]
55  
56  [sources]
57  unknown-registry = "deny"
58  unknown-git = "deny"
59  allow-registry = ["https://github.com/rust-lang/crates.io-index"]
60  allow-git = [
61      "https://source.ac-dc.network",
62  ]
63  
64  [sources.allow-org]
65  github = [
66      "AluVM",
67      "rust-lang",
68  ]
69  
70  [output]
71  feature-depth = 1