Skip to content

Commit bdb87df

Browse files
committed
cargo-rail: updating the deny.toml now that we've removed the heaviness of Gix/Git-Cliff/etc.
1 parent 198a176 commit bdb87df

File tree

1 file changed

+5
-39
lines changed

1 file changed

+5
-39
lines changed

deny.toml

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,17 @@ targets = [
99

1010
[advisories]
1111
yanked = "warn"
12-
13-
# Ignore unmaintained advisories for transitive dependencies we cannot easily control - TODO: Remove this once we have a better solution
14-
ignore = [
15-
"RUSTSEC-2024-0370", # proc-macro-error (via git-cliff-core → rust-embed → include-flate)
16-
]
12+
ignore = []
1713

1814
[licenses]
19-
# Common Open Source Licenses
15+
# Only allow licenses we actually encounter
2016
allow = [
2117
"MIT",
2218
"Apache-2.0",
2319
"Apache-2.0 WITH LLVM-exception",
24-
"BSD-2-Clause",
25-
"BSD-3-Clause",
2620
"BSL-1.0",
27-
"CDLA-Permissive-2.0",
28-
"ISC",
2921
"Unicode-3.0",
30-
"CC0-1.0",
3122
"Zlib",
32-
"MPL-2.0",
3323
]
3424

3525
confidence-threshold = 0.93
@@ -40,39 +30,15 @@ wildcards = "allow"
4030
highlight = "all"
4131

4232
skip = [
43-
# Windows ecosystem - commonly has version mismatches
33+
# Windows ecosystem - commonly has version mismatches across targets
4434
"windows-sys",
4535
"windows-targets",
46-
"windows-result",
47-
"windows-strings",
48-
"windows-core",
4936
"windows_aarch64_msvc",
5037
"windows_x86_64_gnu",
5138
"windows_x86_64_msvc",
52-
"windows-link",
53-
"windows-interface",
54-
"windows-implement",
55-
"windows",
56-
# Low-level hash/system dependencies
39+
# Low-level system dependencies - acceptable to have multiple versions
40+
# petgraph depends on hashbrown v0.15, while indexmap uses v0.16
5741
"hashbrown",
58-
"foldhash",
59-
"linux-raw-sys",
60-
"rustix",
61-
# git-cliff-core transitive dependencies (via tera, cacache, rust-embed)
62-
"base64",
63-
"getrandom",
64-
"rand",
65-
"rand_chacha",
66-
"rand_core",
67-
"memmap2",
68-
"syn",
69-
"thiserror",
70-
"thiserror-impl",
71-
# cargo-semver-checks intentionally uses multiple rustdoc-types versions
72-
# to support different Rust toolchain versions
73-
"rustdoc-types",
74-
"trustfall-rustdoc-adapter",
75-
"itertools",
7642
]
7743

7844
[sources]

0 commit comments

Comments
 (0)