Skip to content

Commit

Permalink
Update dependencies (#1011)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
urkle committed Mar 30, 2023
1 parent 99bd129 commit 6ae9520
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion tests/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6ae9520

Please sign in to comment.