Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
49 lines (46 loc) · 1.48 KB
/
Copy pathdeny.toml
File metadata and controls
49 lines (46 loc) · 1.48 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
[licenses]
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"ISC",
"MIT",
"Unicode-3.0",
"Unicode-DFS-2016",
"WTFPL",
]
confidence-threshold = 0.8
[advisories]
ignore = [
{ id = "RUSTSEC-2025-0141", reason = "bincode is used in syntect" },
{ id = "RUSTSEC-2024-0320", reason = "yaml-rust is used in syntect" },
{ id = "RUSTSEC-2026-0194", reason = "syntect hasn't updated" },
{ id = "RUSTSEC-2026-0195", reason = "syntect hasn't updated" },
{ id = "RUSTSEC-2021-0146", reason = "rouille uses this, but I don't use multipart" },
{ id = "RUSTSEC-2023-0081", reason = "rouille uses this, but I don't use multipart" },
{ id = "RUSTSEC-2023-0050", reason = "rouille uses" },
{ id = "RUSTSEC-2023-0028", reason = "rouille uses" },
]
[bans]
multiple-versions = "warn"
wildcards = "warn"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
allow-workspace = false
deny = [
{ crate = "git2", use-instead = "gix" },
{ crate = "openssl", use-instead = "rustls" },
{ crate = "openssl-sys", use-instead = "rustls" },
"libssh2-sys",
{ crate = "cmake", use-instead = "cc" },
{ crate = "windows", reason = "bloated and unnecessary", use-instead = "ideally inline bindings, practically, windows-sys" },
]
skip-tree = [
{ crate = "windows-sys", reason = "a foundational crate for many that bumps far too frequently to ever have a shared version" },
]
[sources]
unknown-registry = "deny"
unknown-git = "warn"