Temporarily deactivate the surf example

staging
Taiki Endo 5 years ago
parent f0bf66d0df
commit 77ebedd44c

@ -46,13 +46,10 @@ broadcaster = { version = "0.2.6", optional = true, default-features = false, fe
[dev-dependencies] [dev-dependencies]
femme = "1.2.0" femme = "1.2.0"
surf = "1.0.2" # surf = "1.0.2"
tempdir = "0.3.7" tempdir = "0.3.7"
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] } futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }
# These are used by the book for examples # These are used by the book for examples
futures-channel-preview = "=0.3.0-alpha.19" futures-channel-preview = "=0.3.0-alpha.19"
futures-util-preview = "=0.3.0-alpha.19" futures-util-preview = "=0.3.0-alpha.19"
[patch.crates-io]
surf = { git = "https://github.com/taiki-e/surf", branch = "futures" }

@ -1,3 +1,4 @@
/* TODO: Once the next version of surf released, re-enable this example.
//! Sends an HTTP request to the Rust website. //! Sends an HTTP request to the Rust website.
use async_std::task; use async_std::task;
@ -17,3 +18,6 @@ fn main() -> Result<(), surf::Exception> {
Ok(()) Ok(())
}) })
} }
*/
fn main() {}

Loading…
Cancel
Save