Skip to content

Commit b918db8

Browse files
committed
refactor: simplify deny.toml by removing comments and unused configurations
1 parent 65dcd09 commit b918db8

1 file changed

Lines changed: 2 additions & 24 deletions

File tree

deny.toml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
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
63
allow = [
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
2312
confidence-threshold = 0.8
2413

2514
[bans]
26-
# Lint level for when multiple versions of the same crate are detected
2715
multiple-versions = "warn"
28-
# Lint level for when a crate version requirement is `*`
2916
wildcards = "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
3520
yanked = "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
4223
unknown-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
4524
unknown-git = "warn"
46-
# List of registries to allow crates from
4725
allow-registry = ["https://github.com/rust-lang/crates.io-index"]

0 commit comments

Comments
 (0)