forked from mirror/async-std
Enable surf example
1.0.3 has been released with the required change
This commit is contained in:
parent
46c58b214c
commit
1b7d5bea6b
2 changed files with 1 additions and 7 deletions
|
@ -74,7 +74,7 @@ slab = { version = "0.4.2", optional = true }
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
femme = "1.2.0"
|
femme = "1.2.0"
|
||||||
rand = "0.7.2"
|
rand = "0.7.2"
|
||||||
# surf = "1.0.2"
|
surf = "1.0.3"
|
||||||
tempdir = "0.3.7"
|
tempdir = "0.3.7"
|
||||||
futures = "0.3.0"
|
futures = "0.3.0"
|
||||||
|
|
||||||
|
|
|
@ -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;
|
use async_std::task;
|
||||||
|
|
||||||
fn main() -> Result<(), surf::Exception> {
|
fn main() -> Result<(), surf::Exception> {
|
||||||
|
@ -18,6 +15,3 @@ fn main() -> Result<(), surf::Exception> {
|
||||||
Ok(())
|
Ok(())
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
fn main() {}
|
|
||||||
|
|
Loading…
Reference in a new issue