File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Configuration for cargo-deny
2- # See: https://embarkstudios.github.io/cargo-deny/
3-
41[licenses ]
5- # Allow these licenses for the project
2+ version = 2
63allow = [
74 " Apache-2.0" ,
85 " MIT" ,
@@ -12,36 +9,17 @@ allow = [
129 " Unicode-DFS-2016" ,
1310]
1411
15- # Deny these licenses
16- deny = [
17- " GPL-2.0" ,
18- " GPL-3.0" ,
19- " AGPL-3.0" ,
20- ]
21-
22- # Configuration for license checking
2312confidence-threshold = 0.8
2413
2514[bans ]
26- # Lint level for when multiple versions of the same crate are detected
2715multiple-versions = " warn"
28- # Lint level for when a crate version requirement is `*`
2916wildcards = " allow"
3017
3118[advisories ]
32- # The lint level for security vulnerabilities
33- vulnerability = " deny"
34- # The lint level for crates that have been yanked from their source registry
19+ version = 2
3520yanked = " warn"
36- # The lint level for crates with security notices
37- notice = " warn"
3821
3922[sources ]
40- # Lint level for what to happen when a crate from a crate registry that is
41- # not in the allow list is encountered
4223unknown-registry = " warn"
43- # Lint level for what to happen when a crate from a git repository that is not
44- # in the allow list is encountered
4524unknown-git = " warn"
46- # List of registries to allow crates from
4725allow-registry = [" https://github.com/rust-lang/crates.io-index" ]
You can’t perform that action at this time.
0 commit comments