From 95bc3e67453e443abc3120ce5dbb1a7c04deffc8 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sun, 26 Jul 2020 14:09:50 +0200 Subject: [PATCH] Enable the async-std1 feature when building on docs.rs --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 1ae174e..73eb769 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,6 +62,9 @@ sendmail-transport = [] smtp-transport = ["bufstream", "base64", "nom"] unstable = [] +[package.metadata.docs.rs] +features = ["async-std1"] + [[example]] name = "smtp" required-features = ["smtp-transport"]