From 6ae9520f0af9d73886e32211def1300191d8e538 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Thu, 30 Mar 2023 11:17:56 -0400 Subject: [PATCH] Update dependencies (#1011) * update tokio-tungstenite dependency - this updates the tungstenite indirect depdendency - this removes indirect usage of the now deprecated sha-1 crate (in favor of sha1) * update rustls-pemfile to latest * update listenfd dependency * update tracing-subscriber dependency --- Cargo.toml | 8 ++++---- tests/tracing.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 62ee5666b..afcde0f76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,21 +37,21 @@ tokio-stream = "0.1.1" tokio-util = { version = "0.7", features = ["io"] } tracing = { version = "0.1.21", default-features = false, features = ["log", "std"] } tower-service = "0.3" -tokio-tungstenite = { version = "0.17", optional = true } +tokio-tungstenite = { version = "0.18", optional = true } percent-encoding = "2.1" pin-project = "1.0" tokio-rustls = { version = "0.23", optional = true } -rustls-pemfile = "0.2" +rustls-pemfile = "1.0" [dev-dependencies] pretty_env_logger = "0.4" -tracing-subscriber = "0.2.7" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-log = "0.1" serde_derive = "1.0" handlebars = "4.0" tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] } tokio-stream = { version = "0.1.1", features = ["net"] } -listenfd = "0.3" +listenfd = "1.0" [features] default = ["multipart", "websocket"] diff --git a/tests/tracing.rs b/tests/tracing.rs index 0ae88fbc3..cf87feda3 100644 --- a/tests/tracing.rs +++ b/tests/tracing.rs @@ -3,7 +3,7 @@ use warp::Filter; #[tokio::test] async fn uses_tracing() { // Setup a log subscriber (responsible to print to output) - let subscriber = tracing_subscriber::fmt::Subscriber::builder() + let subscriber = tracing_subscriber::fmt() .with_env_filter("trace") .without_time() .finish();