Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
72 lines (67 loc) · 4.13 KB
/
Copy pathdeny.toml
File metadata and controls
72 lines (67 loc) · 4.13 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
[graph]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
]
all-features = true
exclude-dev = false
[advisories]
version = 2
yanked = "deny"
unmaintained = "workspace"
ignore = [
{ id = "RUSTSEC-2023-0071", reason = "rsa is reached through sqlx-mysql, which encrypts the MySQL password with the server's public key, and through russh and ssh-key, which sign one login with an RSA identity file in the in-process SSH transport, off in the Linux app's build. Neither decrypts in process. The rsa ban below holds that scope. See linux/docs/decisions/0009-crypto-provider-and-sources.md and core/docs/decisions/0009-in-process-ssh-on-windows.md." },
{ id = "RUSTSEC-2026-0459", reason = "The bundled SQLite before 3.54.0 is built only for targets other than Linux, and none ships: the Linux app links the distribution's SQLite (sqlite-unbundled), the Windows app has no release, and the macOS app does not link the core yet. sqlx-sqlite 0.9.0 requires libsqlite3-sys below 0.38, as the workspace pin does; once sqlx allows 0.39, raise the pin and remove this. Until then no Windows release (windows/RELEASING.md, A release)." },
{ id = "RUSTSEC-2026-0543", reason = "chrono is unmaintained with no patched version. arrow (under duckdb), bson, scylla, sqlx, tiberius, postgres-types, oauth2, rmcp, schemars and rust_xlsxwriter take or return its types, so it stays in the tree whatever date crate the workspace uses. Remove this once those crates move to jiff or time." },
]
[licenses]
version = 2
confidence-threshold = 0.9
allow = [
"AGPL-3.0-or-later",
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"Unicode-3.0",
"CC0-1.0",
"MPL-2.0",
"OpenSSL",
"CDLA-Permissive-2.0",
"LGPL-2.1-or-later",
"0BSD",
"BSL-1.0",
]
[licenses.private]
ignore = true
[bans]
multiple-versions = "warn"
wildcards = "deny"
allow-wildcard-paths = true
deny = [
{ crate = "ring", wrappers = ["rustls", "rustls-webpki"], reason = "aws-lc-rs is the only crypto provider; ring comes only through ureq's default features, below (ADR 0025)" },
{ crate = "ureq", wrappers = ["bollard-buildkit-proto", "libduckdb-sys"], reason = "libduckdb-sys builds with ureq's default features, which turn on rustls's ring in its build script, for a download the bundled build never runs (ADR 0025)" },
{ crate = "openssl-sys", reason = "TLS goes through rustls with aws-lc-rs" },
{ crate = "native-tls", reason = "TLS goes through rustls with aws-lc-rs" },
{ crate = "rustls:<0.23", reason = "rustls before 0.23 has no pluggable provider and carries fixed advisories" },
{ crate = "rustls-pemfile", reason = "unmaintained; rustls-pki-types parses PEM" },
{ crate = "bigdecimal", reason = "decimals use tablepro_core::value::SqlDecimal" },
{ crate = "rust_decimal", reason = "decimals use tablepro_core::value::SqlDecimal; rust_decimal stops at 28 digits and has no NaN or infinity" },
{ crate = "backoff", reason = "unmaintained" },
{ crate = "instant", reason = "unmaintained" },
{ crate = "rsa", wrappers = ["sqlx-mysql", "russh", "ssh-key"], reason = "RUSTSEC-2023-0071 is accepted for sqlx-mysql's public-key encryption and the in-process SSH transport's RSA signatures (core ADR 0009); any other user of rsa needs a new decision" },
{ crate = "tablepro-test-fixtures", wrappers = ["tablepro", "tablepro-driver-cassandra", "tablepro-driver-clickhouse", "tablepro-driver-mongodb", "tablepro-driver-mssql", "tablepro-driver-mysql", "tablepro-driver-postgres", "tablepro-driver-redis", "tablepro-session", "tablepro-ssh"], reason = "container fixtures are a dev-only leaf; extend the wrappers with each new dependent" },
{ crate = "libsqlite3-sys", deny-multiple-versions = true, reason = "two SQLite builds in one binary conflict" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
# tokio-postgres with the copy_in fix, until a release has it (Cargo.toml, patch.crates-io).
allow-git = ["https://github.com/TableProApp/rust-postgres"]