Merge pull request #225 from smol-rs/surf

Temporarily disable example that using surf
This commit is contained in:
Taiki Endo 2021-02-14 20:48:05 +09:00 committed by GitHub
commit f8bebeb348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -42,7 +42,8 @@ native-tls = "0.2.7"
num_cpus = "1.13.0"
scraper = "0.12.0"
signal-hook = "0.3.2"
surf = { version = "2.1.0", default-features = false, features = ["h1-client"] }
# TODO: surf is currently broken: https://github.com/http-rs/surf/pull/282
# surf = { version = "2.1.0", default-features = false, features = ["h1-client"] }
tempfile = "3.2.0"
tide = "0.15.0"
tokio = { version = "1.0.1", default-features = false, features = ["rt-multi-thread"] }

View File

@ -1,3 +1,6 @@
fn main() {}
/* TODO: surf is currently broken: https://github.com/http-rs/surf/pull/282
//! Crawls the Rust language website and prints found pages.
//!
//! Run with:
@ -78,3 +81,4 @@ fn main() -> Result<()> {
Ok(())
})
}
*/