Bump rustls-connector from 0.19 to 0.22 (#314)
Some checks failed
check / stable / fmt (push) Has been cancelled
check / beta / clippy (push) Has been cancelled
check / stable / clippy (push) Has been cancelled
check / semver (push) Has been cancelled
check / nightly / doc (push) Has been cancelled
check / ubuntu / stable / features (push) Has been cancelled
check / ubuntu / 1.80.0 (push) Has been cancelled
rolling / ubuntu / nightly (push) Has been cancelled
rolling / ubuntu / beta / updated (push) Has been cancelled
test / ubuntu / beta / greenmail (push) Has been cancelled
test / ubuntu / stable / greenmail (push) Has been cancelled
test / ubuntu / beta / cyrus (push) Has been cancelled
test / ubuntu / stable / cyrus (push) Has been cancelled
test / ubuntu / stable / minimal-versions (push) Has been cancelled
test / macos-latest / stable (push) Has been cancelled
test / windows-latest / stable (push) Has been cancelled
test / ubuntu / stable / coverage (push) Has been cancelled

This commit is contained in:
Massimiliano Torromeo 2026-02-28 14:06:09 +01:00 committed by GitHub
parent 5900f5e6a2
commit f7274363cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 725 additions and 395 deletions

View file

@ -112,7 +112,7 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
strategy:
matrix:
msrv: ["1.65.0"]
msrv: ["1.80.0"]
name: ubuntu / ${{ matrix.msrv }}
steps:
- uses: actions/checkout@v4

1110
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -23,7 +23,7 @@ test-full-imap = []
[dependencies]
native-tls = { version = "0.2.2", optional = true }
rustls-connector = { version = "0.19.0", optional = true }
rustls-connector = { version = "0.22.0", optional = true }
regex = "1.0"
bufstream = "0.1.3"
imap-proto = "0.16.1"
@ -35,7 +35,7 @@ ouroboros = "0.18.0"
[dev-dependencies]
lettre = "0.11"
rustls-connector = "0.19.0"
rustls-connector = "0.22.0"
clap = { version = "4.5.4", features = ["derive"] }
# to make -Zminimal-versions work

View file

@ -64,8 +64,8 @@ impl rustls::client::danger::ServerCertVerifier for NoCertVerification {
lazy_static! {
static ref CACERTS: RootCertStore = {
let mut store = RootCertStore::empty();
for cert in load_native_certs().unwrap_or_else(|_| vec![]) {
if let Ok(_) = store.add(cert) {}
for cert in load_native_certs().certs {
let _ = store.add(cert);
}
store
};