From c210c4033a7bdc0a7f07c073a83f25ad6fd169a7 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Wed, 30 Jun 2021 23:28:19 +0900 Subject: [PATCH] Update dev-dependencies --- Cargo.toml | 15 +++++---------- examples/web-crawler.rs | 4 ---- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4b29868..453236d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,9 +28,7 @@ anyhow = "1.0.37" async-dup = "1.2.2" async-h1 = "2.3.0" async-native-tls = "0.3.3" -async-std = "1.9.0" -async-tungstenite = { version = "0.12.0", features = ["async-native-tls"] } -base64 = "0.13.0" +async-tungstenite = { version = "0.13", features = ["async-native-tls"] } ctrlc = "3.1.6" doc-comment = "0.3.3" futures = "0.3.8" @@ -38,21 +36,18 @@ http = "0.2.2" http-types = "2.9.0" hyper = { version = "0.14.2", default-features = false, features = ["client", "http1", "server", "stream"] } native-tls = "0.2.7" -num_cpus = "1.13.0" scraper = "0.12.0" signal-hook = "0.3.2" -# TODO: surf is currently broken: https://github.com/http-rs/surf/pull/282 -# surf = { version = "2.1.0", default-features = false, features = ["h1-client"] } +surf = { version = "2.2", 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"] } -tungstenite = "0.12.0" +tungstenite = "0.13" url = "2.2.0" [target.'cfg(target_os = "linux")'.dev-dependencies] inotify = { version = "0.9.2", default-features = false } -nix = "0.19.1" +nix = "0.21" timerfd = "1.2.0" [target.'cfg(windows)'.dev-dependencies] -uds_windows = "0.1.5" +uds_windows = "1" diff --git a/examples/web-crawler.rs b/examples/web-crawler.rs index c166b61..2ec6292 100644 --- a/examples/web-crawler.rs +++ b/examples/web-crawler.rs @@ -1,6 +1,3 @@ -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: @@ -81,4 +78,3 @@ fn main() -> Result<()> { Ok(()) }) } -*/