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
74
75
76
# cargo-deny configuration for braze-sync.
#
# Run locally with `cargo deny check`. CI runs the same command via
# `.github/workflows/ci.yml` → `deny` job. Keep this file conservative:
# the goal is to catch license drift and supply-chain surprises before
# v1.0 freeze, not to block legitimate dependency bumps.
[]
= true
[]
= 2
# Fail on any unfixed advisory. `cargo audit` already runs in a separate
# job; this keeps the check in the same pipeline when advisory data
# moves between sources.
= "deny"
= [
# Transitive via indicatif 0.17 → number_prefix 0.4. Upstream has
# no safe upgrade yet; revisit when indicatif switches to unit-prefix.
{ = "RUSTSEC-2025-0119", = "transitive via indicatif, no upgrade path" },
]
[]
= 2
# Permissive OSS licenses compatible with MIT distribution of
# braze-sync itself. Anything outside this set must be reviewed before
# being added — open an issue and update this list explicitly.
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"Unicode-3.0",
"CC0-1.0",
"0BSD",
"Unlicense",
"MIT-0",
"CDLA-Permissive-2.0",
"BSL-1.0",
]
= 0.93
[[]]
# `ring` ships a custom LICENSE that confuses SPDX parsers. The
# project has been on the same multi-license terms for years; pin an
# explicit expression so the check is deterministic.
#
# `license-files` is required by cargo-deny's schema. The hash below
# is tied to the exact LICENSE bytes of the ring version currently in
# Cargo.lock — when ring bumps and the file changes, cargo-deny will
# fail with a mismatch. Re-compute it (not remove this block): the
# error message from `cargo deny check licenses` prints the expected
# hash, so paste that value back in after verifying the LICENSE text
# hasn't materially changed.
= "ring"
= "ISC AND MIT AND OpenSSL"
= [
{ = "LICENSE", = 0xbd0eed23 },
]
[]
= "warn"
= "deny"
# Known duplicates come from transitive deps (windows-sys versions,
# syn 1/2 straddle, etc.). Revisit periodically but don't block PRs.
[]
# Only crates.io and first-party git sources are allowed. Any new
# registry or fork URL is a deliberate decision, not an accident.
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]
= []