From a78380739e85049c0ef890deb6fcb0cd8de9bc8b Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 9 Aug 2020 13:32:37 +0100 Subject: [PATCH] require rustls feature for client example (#1625) --- .gitignore | 1 + Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 42d0755dd..11a3b5f37 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ guide/build/ *.pid *.sock *~ +.DS_Store # These are backup files generated by rustfmt **/*.rs.bk diff --git a/Cargo.toml b/Cargo.toml index 49de9fd96..afaeac09d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -124,6 +124,10 @@ actix-files = { path = "actix-files" } actix-multipart = { path = "actix-multipart" } awc = { path = "awc" } +[[example]] +name = "client" +required-features = ["rustls"] + [[bench]] name = "server" harness = false