From 9a0bed4273d8258693fe2ba6ceaecefbc1ee033f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 14 Feb 2021 20:25:19 +0900 Subject: [PATCH] Temporarily disable example that using surf --- Cargo.toml | 3 ++- examples/web-crawler.rs | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 926e3f9..f4c4600 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } diff --git a/examples/web-crawler.rs b/examples/web-crawler.rs index 2ec6292..c166b61 100644 --- a/examples/web-crawler.rs +++ b/examples/web-crawler.rs @@ -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(()) }) } +*/