Skip to content

Commit 3151a70

Browse files
authored
Merge pull request #517 from Alexendoo/surf
Enable surf example
2 parents 46c58b2 + 1b7d5be commit 3151a70

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ slab = { version = "0.4.2", optional = true }
7474
[dev-dependencies]
7575
femme = "1.2.0"
7676
rand = "0.7.2"
77-
# surf = "1.0.2"
77+
surf = "1.0.3"
7878
tempdir = "0.3.7"
7979
futures = "0.3.0"
8080

examples/surf-web.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/* TODO: Once the next version of surf released, re-enable this example.
2-
//! Sends an HTTP request to the Rust website.
3-
41
use async_std::task;
52

63
fn main() -> Result<(), surf::Exception> {
@@ -18,6 +15,3 @@ fn main() -> Result<(), surf::Exception> {
1815
Ok(())
1916
})
2017
}
21-
*/
22-
23-
fn main() {}

0 commit comments

Comments
 (0)