diff --git a/.drone.yml b/.drone.yml index 9da0a0d..5568e02 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,6 +26,7 @@ steps: - name: binary-deploy image: rust:latest + depends_on: [ build-ui ] volumes: - name: temp path: /app @@ -46,6 +47,7 @@ steps: - name: build-musl image: rust + depends_on: [ build-ui ] volumes: - name: temp path: /app @@ -61,6 +63,7 @@ steps: - name: stage-deploy image: plugins/docker privileged: true + depends_on: [ build-musl ] volumes: - name: temp path: /app diff --git a/Cargo.lock b/Cargo.lock index a9ca3fb..e9ec9c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -893,7 +893,6 @@ dependencies = [ "smallvec", "thiserror", "tokio", - "tokio-native-tls", "tokio-stream", "tokio-util", "tracing", @@ -1332,16 +1331,6 @@ dependencies = [ "syn", ] -[[package]] -name = "tokio-native-tls" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" -dependencies = [ - "native-tls", - "tokio", -] - [[package]] name = "tokio-stream" version = "0.1.10" diff --git a/Cargo.toml b/Cargo.toml index 8af7f98..090deb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,13 +11,14 @@ serde = { version = "1.0.145", features = ["derive"] } serde_json = "1.0.85" tokio = { version = "1.21.1", features = ["full"] } bytes = "1.2.1" -lettre = "0.10.1" -poem = { version = "1.3.44", features = ["compression", "embed", "native-tls"] } +poem = { version = "1.3.44", features = ["compression", "embed"] } rust-embed = "6.4.1" tracing = "0.1.36" tracing-subscriber = "0.3.15" mailparse = "0.13.8" clap = { version = "3.2.22", features = ["derive"] } +[dev-dependencies] +lettre = "0.10.1"