From aa2db48a680109013fbd8c2aa1e3ba61985d52bf Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 19 Oct 2022 21:08:21 +0200 Subject: [PATCH] Replace native-tls with rustls because native-tls segfaulted --- backend/.gitlab-ci.yml | 2 +- backend/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/.gitlab-ci.yml b/backend/.gitlab-ci.yml index c0f3118..088d8fd 100644 --- a/backend/.gitlab-ci.yml +++ b/backend/.gitlab-ci.yml @@ -13,7 +13,7 @@ build_backend_muslc: stage: build image: rust:alpine script: - - apk add openssl-dev pkgconf musl-dev + - apk add pkgconf musl-dev - cd backend - cargo build --release - cp target/release/backend_rust ../server diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 64b70bc..d75b806 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -27,7 +27,7 @@ jsonwebtoken = "8.1.1" thiserror = "1.0.37" chrono = "0.4.22" 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"] } totp-rs = { version = "3.0.1", features = ["qr"] } ring = { version = "0.16.20", default-features = false }