Replace native-tls with rustls because native-tls segfaulted

This commit is contained in:
Mutzi 2022-10-19 21:08:21 +02:00
parent 6995120cb9
commit aa2db48a68
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ build_backend_muslc:
stage: build stage: build
image: rust:alpine image: rust:alpine
script: script:
- apk add openssl-dev pkgconf musl-dev - apk add pkgconf musl-dev
- cd backend - cd backend
- cargo build --release - cargo build --release
- cp target/release/backend_rust ../server - cp target/release/backend_rust ../server

View File

@ -27,7 +27,7 @@ jsonwebtoken = "8.1.1"
thiserror = "1.0.37" thiserror = "1.0.37"
chrono = "0.4.22" chrono = "0.4.22"
rust-argon2 = "1.0.0" rust-argon2 = "1.0.0"
lettre = "0.10.1" lettre = { version = "0.10.1", features = ["smtp-transport", "hostname", "builder", "rustls-tls"], default-features = false }
ureq = { version = "2.5.0", features = ["json"] } ureq = { version = "2.5.0", features = ["json"] }
totp-rs = { version = "3.0.1", features = ["qr"] } totp-rs = { version = "3.0.1", features = ["qr"] }
ring = { version = "0.16.20", default-features = false } ring = { version = "0.16.20", default-features = false }