diff --git a/Cargo.lock b/Cargo.lock index 6f84ce08e..31ba8f86e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -262,7 +262,7 @@ dependencies = [ "sha-1", "sync_wrapper", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.17.2", "tower", "tower-http", "tower-layer", @@ -271,13 +271,13 @@ dependencies = [ [[package]] name = "axum" -version = "0.6.1" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08b108ad2665fa3f6e6a517c3d80ec3e77d224c47d605167aefaa5d7ef97fa48" +checksum = "e5694b64066a2459918d8074c2ce0d5a88f409431994c2356617c8ae0c4721fc" dependencies = [ "async-trait", - "axum-core 0.3.0", - "base64 0.13.1", + "axum-core 0.3.2", + "base64 0.20.0", "bitflags", "bytes", "futures-util", @@ -295,10 +295,10 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sha-1", + "sha1", "sync_wrapper", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.18.0", "tower", "tower-http", "tower-layer", @@ -323,9 +323,9 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.3.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79b8558f5a0581152dc94dcd289132a1d377494bdeafcd41869b3258e3e2ad92" +checksum = "1cae3e661676ffbacb30f1a824089a8c9150e71017f7e1e38f2aa32009188d34" dependencies = [ "async-trait", "bytes", @@ -958,7 +958,7 @@ version = "1.107.0" dependencies = [ "anyhow", "async-channel", - "axum 0.6.1", + "axum 0.6.4", "deltachat", "env_logger 0.10.0", "futures", @@ -3639,7 +3639,19 @@ dependencies = [ "futures-util", "log", "tokio", - "tungstenite", + "tungstenite 0.17.3", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" +dependencies = [ + "futures-util", + "log", + "tokio", + "tungstenite 0.18.0", ] [[package]] @@ -3815,6 +3827,25 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" +dependencies = [ + "base64 0.13.1", + "byteorder", + "bytes", + "http", + "httparse", + "log", + "rand 0.8.5", + "sha1", + "thiserror", + "url", + "utf-8", +] + [[package]] name = "twofish" version = "0.7.1" diff --git a/deltachat-jsonrpc/Cargo.toml b/deltachat-jsonrpc/Cargo.toml index 2849784c7..45a4f6ba1 100644 --- a/deltachat-jsonrpc/Cargo.toml +++ b/deltachat-jsonrpc/Cargo.toml @@ -28,7 +28,7 @@ sanitize-filename = "0.4" walkdir = "2.3.2" # optional dependencies -axum = { version = "0.6.1", optional = true, features = ["ws"] } +axum = { version = "0.6.4", optional = true, features = ["ws"] } env_logger = { version = "0.10.0", optional = true } [dev-dependencies]