Commit 8ff501b
chore(deps): drop unmaintained rustls-pemfile; allow LLVM-exception
cargo-deny flagged three issues against the current advisory DB. The
cargo update commit already resolves the postgres-protocol (>=0.6.12) and
tokio-postgres (RUSTSEC-2026-0178, >=0.7.18) advisories. This commit
handles the remaining two:
- rustls-pemfile is unmaintained (RUSTSEC-2025-0134) with no safe upgrade.
It is now a thin wrapper around rustls-pki-types, which we already depend
on. Migrate src/tls.rs to the rustls-pki-types PemObject API
(CertificateDer::pem_file_iter / PrivateKeyDer::from_pem_file, behind the
`std` feature) and drop the rustls-pemfile dependency.
- Allow "Apache-2.0 WITH LLVM-exception" in deny.toml. It is pulled in via
psm/stacker (sqlparser's recursion guard) and is Apache-2.0-compatible.
cargo deny check now reports advisories/bans/licenses/sources all ok;
build, clippy -D warnings, fmt, and the full test suite (incl. the TLS
keypair tests, against Trino 479) pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0523e54 commit 8ff501b
4 files changed
Lines changed: 14 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
64 | 61 | | |
65 | 62 | | |
66 | 63 | | |
| |||
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 69 | + | |
| 70 | + | |
79 | 71 | | |
80 | 72 | | |
81 | 73 | | |
| |||
0 commit comments