forked from mirror/async-std
Temporarily deactivate the surf example
This commit is contained in:
parent
f0bf66d0df
commit
77ebedd44c
2 changed files with 5 additions and 4 deletions
|
@ -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" }
|
||||
|
|
|
@ -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() {}
|
||||
|
|
Loading…
Reference in a new issue