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
47
48
49
50
51
# cargo-deny configuration. Run locally with `cargo deny check`.
# Docs: https://embarkstudios.github.io/cargo-deny/checks/cfg.html
[]
= true
[]
# RustSec advisory database. `version = 2` is the current schema.
= 2
= "warn"
# Specific known-issue exemptions go here as needed:
= []
[]
= 2
# Accept the standard permissive set common in the Rust ecosystem,
# plus MPL-2.0 (weak copyleft, file-scoped — used by the `serialport`
# crate).
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MPL-2.0",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"0BSD",
"CC0-1.0",
]
= 0.9
# `unescaper` v0.1.8 (a transitive dep via `serialport`) declares its
# license as the deprecated SPDX form `GPL-3.0/MIT`, which cargo-deny
# can't parse. The intent is "GPL-3.0 OR MIT" (slash was the legacy
# OR-syntax). We elect MIT explicitly so we don't accept GPL.
[[]]
= "unescaper"
= "MIT"
= []
[]
= "warn"
= "deny"
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]