From 34ff9ac4d8fa60f080f4214706fe9ec663c003d6 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Wed, 2 Oct 2019 02:08:57 +0900 Subject: [PATCH] Temporarily deactivate the surf example --- Cargo.toml | 2 +- examples/surf-web.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 766c74034..c72ffb207 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ broadcaster = { version = "0.2.6", optional = true, default-features = false, fe [dev-dependencies] femme = "1.2.0" -surf = "1.0.2" +# surf = "1.0.2" tempdir = "0.3.7" futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] } diff --git a/examples/surf-web.rs b/examples/surf-web.rs index fd19c29f1..b3101d15c 100644 --- a/examples/surf-web.rs +++ b/examples/surf-web.rs @@ -1,3 +1,4 @@ +/* TODO: Once the next version of surf released, re-enable this example. //! Sends an HTTP request to the Rust website. use async_std::task; @@ -17,3 +18,6 @@ fn main() -> Result<(), surf::Exception> { Ok(()) }) } +*/ + +fn main() {}