From 26c38070ec1e605079928059c2b4bb5cccd1ac50 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 9 Apr 2022 11:36:32 +0000 Subject: [PATCH] Disable unused async-smtp transports By default file and sendmail transports are enabled, but deltachat does not use them. --- Cargo.lock | 3 --- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8a4c3568e..857a539c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -310,9 +310,6 @@ dependencies = [ "nom 5.1.2", "pin-project", "pin-utils", - "serde", - "serde_derive", - "serde_json", "thiserror", ] diff --git a/Cargo.toml b/Cargo.toml index 30325c3b3..50b333719 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ ansi_term = { version = "0.12.1", optional = true } anyhow = "1" async-imap = { git = "https://github.com/async-email/async-imap" } async-native-tls = { version = "0.3" } -async-smtp = { git = "https://github.com/async-email/async-smtp", branch="master", features = ["socks5"] } +async-smtp = { git = "https://github.com/async-email/async-smtp", branch="master", default-features=false, features = ["smtp-transport", "socks5"] } async-std-resolver = "0.21" async-std = { version = "1" } async-tar = { version = "0.4", default-features=false }