Skip to content

Commit 77ebedd

Browse files
committed
Temporarily deactivate the surf example
1 parent f0bf66d commit 77ebedd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,10 @@ broadcaster = { version = "0.2.6", optional = true, default-features = false, fe
4646

4747
[dev-dependencies]
4848
femme = "1.2.0"
49-
surf = "1.0.2"
49+
# surf = "1.0.2"
5050
tempdir = "0.3.7"
5151
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }
5252

5353
# These are used by the book for examples
5454
futures-channel-preview = "=0.3.0-alpha.19"
5555
futures-util-preview = "=0.3.0-alpha.19"
56-
57-
[patch.crates-io]
58-
surf = { git = "https://github.com/taiki-e/surf", branch = "futures" }

examples/surf-web.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* TODO: Once the next version of surf released, re-enable this example.
12
//! Sends an HTTP request to the Rust website.
23
34
use async_std::task;
@@ -17,3 +18,6 @@ fn main() -> Result<(), surf::Exception> {
1718
Ok(())
1819
})
1920
}
21+
*/
22+
23+
fn main() {}

0 commit comments

Comments
 (0)