From 1b7d5bea6b4fdda52deeeb1c4e0f76533bb6ecb3 Mon Sep 17 00:00:00 2001 From: Alex Macleod Date: Tue, 12 Nov 2019 12:19:11 +0000 Subject: [PATCH] Enable surf example 1.0.3 has been released with the required change --- Cargo.toml | 2 +- examples/surf-web.rs | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4d19a934..a005404b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,7 +74,7 @@ slab = { version = "0.4.2", optional = true } [dev-dependencies] femme = "1.2.0" rand = "0.7.2" -# surf = "1.0.2" +surf = "1.0.3" tempdir = "0.3.7" futures = "0.3.0" diff --git a/examples/surf-web.rs b/examples/surf-web.rs index b3101d15..df139e5b 100644 --- a/examples/surf-web.rs +++ b/examples/surf-web.rs @@ -1,6 +1,3 @@ -/* TODO: Once the next version of surf released, re-enable this example. -//! Sends an HTTP request to the Rust website. - use async_std::task; fn main() -> Result<(), surf::Exception> { @@ -18,6 +15,3 @@ fn main() -> Result<(), surf::Exception> { Ok(()) }) } -*/ - -fn main() {}