diff --git a/Cargo.toml b/Cargo.toml index 766c7403..5b988bb4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,13 +46,10 @@ 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"] } # These are used by the book for examples futures-channel-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" } diff --git a/examples/surf-web.rs b/examples/surf-web.rs index fd19c29f..b3101d15 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() {}