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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# cargo-deny configuration for the `gor` project.
# Run with `cargo deny check` (or `cargo deny check advisories|licenses|bans|sources`).
# See https://embarkstudios.github.io/cargo-deny/ for the full reference.
[]
# Evaluate the dependency graph with all features enabled.
= true
# Targets `gor` is built (and shipped) for. Keep in sync with the release matrix.
= [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
[]
# Check all dependencies for unmaintained crates.
= "all"
# Check all dependencies for unsound crates.
= "all"
# Warn on yanked crates; resolve by upgrading.
= "warn"
# Temporary waivers go here, e.g. `RUSTSEC-2024-XXXX = "reason"`. Leave empty by default.
= [
# number_prefix is unmaintained but is a transitive dep of indicatif.
# indicatif 0.18 will remove this dependency. Track: RUSTSEC-2025-0119
"RUSTSEC-2025-0119",
]
[]
# Minimum confidence for license detection (0.0–1.0).
= 0.93
# Permitted licenses (SPDX expressions).
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Zlib",
"MPL-2.0",
"CDLA-Permissive-2.0",
]
# Per-crate license exceptions (with reason) go here if ever needed.
[]
# Warn on duplicate major versions; flip to "deny" once the tree is deduplicated.
= "warn"
# Forbid wildcard (`*`) version requirements — every dep must be pinned.
= "deny"
# Highlight every duplicate in reports.
= "all"
# Forbidden crates, with recommended alternatives.
= [
{ = "openssl", = "rustls" },
{ = "openssl-sys", = "rustls" },
{ = "git2", = "gix" },
]
# Explicitly allowed crates (none needed yet).
= []
# Allow an entire subtree of a crate to be skipped (none needed yet).
= []
[]
# Reject dependencies pulled from unknown registries.
= "deny"
# Reject dependencies pulled from unknown git sources.
= "deny"
# Only the official crates.io index is permitted.
= ["https://github.com/rust-lang/crates.io-index"]