From a89383cdb6f25144f81bdf34b80923d9a7349d8d Mon Sep 17 00:00:00 2001 From: Filip Gospodinov Date: Wed, 20 Oct 2021 19:31:56 +0200 Subject: [PATCH] Re-enable pool tests (#684) The pool tests have been implicitly disabled by testing for a feature that has been removed. --- tests/transport_smtp_pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/transport_smtp_pool.rs b/tests/transport_smtp_pool.rs index fca6377..d0ea3e9 100644 --- a/tests/transport_smtp_pool.rs +++ b/tests/transport_smtp_pool.rs @@ -1,4 +1,4 @@ -#[cfg(all(test, feature = "smtp-transport", feature = "r2d2"))] +#[cfg(all(test, feature = "smtp-transport", feature = "pool"))] mod sync { use lettre::{address::Envelope, SmtpTransport, Transport}; use std::{sync::mpsc, thread};