forked from influxdata/influxdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
73 lines (68 loc) · 2.21 KB
/
deny.toml
File metadata and controls
73 lines (68 loc) · 2.21 KB
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
# Configuration documentation:
# https://embarkstudios.github.io/cargo-deny/index.html
[advisories]
version = 2
yanked = "deny"
ignore = [
# paste crate is no longer maintained, but it is past 1.0
# Keep this here until our transisent dependencies no longer
# need it
"RUSTSEC-2024-0436",
# rustls-pemfile is unmaintained but still used as a transitive dependency
# from object_store. We've removed our direct dependency and migrated to
# rustls-pki-types. Remove once object_store updates.
"RUSTSEC-2025-0134",
# bincode is considered complete at 1.3.3 and no longer maintained. It is
# past 1.0. Pulled into monolith via deps from iox.
"RUSTSEC-2025-0141",
]
git-fetch-with-cli = true
[licenses]
version = 2
unused-allowed-license = "warn"
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"bzip2-1.0.6",
"BSL-1.0",
"CC0-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"Unicode-DFS-2016",
"Unicode-3.0",
"Zlib",
]
exceptions = [
# We should probably NOT bundle CA certs but use the OS ones.
{ name = "webpki-roots", allow = ["MPL-2.0"] },
# aws sdk-s3 uses aws-lc-sys for rustls
{ name = "aws-lc-sys", allow = ["OpenSSL"] },
]
[[licenses.clarify]]
name = "ring"
expression = "BSD-4-Clause AND ISC AND MIT AND OpenSSL"
license-files = [
# https://github.com/briansmith/ring/blob/95948b3977013aed16db92ae32e6b8384496a740/LICENSE
{ path = "LICENSE", hash = 0xbd0eed23 },
]
[sources.allow-org]
github = ["influxdata"]
[bans]
multiple-versions = "allow"
deny = [
# We are using rustls as the TLS implementation, so we shouldn't be linking
# in OpenSSL too.
#
# If you're hitting this, you might want to take a look at what new
# dependencies you have introduced and check if there's a way to depend on
# rustls instead of OpenSSL (tip: check the crate's feature flags).
{ name = "openssl-sys" },
# We've decided to use the `humantime` crate to parse and generate friendly time formats; use
# that rather than chrono-english.
{ name = "chrono-english" },
# Use stdlib ( https://doc.rust-lang.org/stable/std/io/trait.IsTerminal.html )
{ name = "atty" },
]