diff --git a/Cargo.lock b/Cargo.lock index a8b97ff26f5f..bda43f5d8327 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3053,9 +3053,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.13" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c2dd2df839b57db9ab69c2c9d8f3e8c81984781937fe2807dc6dcf3b2ad2939" +checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888" dependencies = [ "futures-core", "futures-sink", @@ -3063,9 +3063,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.13" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15496a72fabf0e62bdc3df11a59a3787429221dd0710ba8ef163d6f7a9112c94" +checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d" [[package]] name = "futures-executor" @@ -3098,9 +3098,9 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.13" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85754d98985841b7d4f5e8e6fbfa4a4ac847916893ec511a2917ccd8525b8bb3" +checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11" [[package]] name = "futures-task" @@ -3635,15 +3635,6 @@ dependencies = [ "unindent", ] -[[package]] -name = "input_buffer" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f97967975f448f1a7ddb12b0bc41069d09ed6a1c161a92687e057325db35d413" -dependencies = [ - "bytes", -] - [[package]] name = "instant" version = "0.1.9" @@ -4491,9 +4482,9 @@ checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333" [[package]] name = "multipart" -version = "0.17.1" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050aeedc89243f5347c3e237e3e13dc76fbe4ae3742a57b94dc14f69acf76d4" +checksum = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" dependencies = [ "buf_redux", "httparse", @@ -4501,7 +4492,7 @@ dependencies = [ "mime", "mime_guess", "quick-error 1.2.3", - "rand 0.7.3", + "rand 0.8.3", "safemem", "tempfile", "twoway", @@ -7288,9 +7279,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.13.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a5f475f1b9d077ea1017ecbc60890fda8e54942d680ca0b1d2b47cfa2d861b" +checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" dependencies = [ "futures-util", "log", @@ -7384,16 +7375,6 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - [[package]] name = "transaction-builder" version = "0.1.0" @@ -7458,19 +7439,19 @@ dependencies = [ [[package]] name = "tungstenite" -version = "0.12.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ada8297e8d70872fa9a551d93250a9f407beb9f37ef86494eb20012a2ff7c24" +checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" dependencies = [ "base64", "byteorder", "bytes", "http", "httparse", - "input_buffer", "log", "rand 0.8.3", "sha-1 0.9.4", + "thiserror", "url", "utf-8", ] @@ -7750,12 +7731,13 @@ dependencies = [ [[package]] name = "warp" -version = "0.3.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dafd0aac2818a94a34df0df1100a7356c493d8ede4393875fd0b5c51bb6bc80" +checksum = "3cef4e1e9114a4b7f1ac799f16ce71c14de5778500c5450ec6b7b920c55b587e" dependencies = [ "bytes", - "futures", + "futures-channel", + "futures-util", "headers", "http", "hyper", @@ -7776,7 +7758,6 @@ dependencies = [ "tokio-util", "tower-service", "tracing", - "tracing-futures", ] [[package]] diff --git a/client/faucet/Cargo.toml b/client/faucet/Cargo.toml index 0722c3236a08..a23d95df01fe 100644 --- a/client/faucet/Cargo.toml +++ b/client/faucet/Cargo.toml @@ -18,7 +18,7 @@ serde = "1.0.124" serde_derive = "1.0.117" structopt = "0.3.21" tokio = { version = "1.3.0", features = ["full"] } -warp = "0.3.0" +warp = "0.3.2" generate-key = { path = "../../config/generate-key" } bcs = "0.1.2" diff --git a/client/json-rpc/Cargo.toml b/client/json-rpc/Cargo.toml index 5f417fbbaf78..d2489c34e247 100644 --- a/client/json-rpc/Cargo.toml +++ b/client/json-rpc/Cargo.toml @@ -28,7 +28,7 @@ diem-workspace-hack = { path = "../../common/workspace-hack" } [dev-dependencies] -warp = "0.3.0" +warp = "0.3.2" diem-config = { path = "../../config" } diff --git a/common/debug-interface/Cargo.toml b/common/debug-interface/Cargo.toml index 47a9d07d0f61..ec17aacd7e95 100644 --- a/common/debug-interface/Cargo.toml +++ b/common/debug-interface/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1.0.38" bytes = "1.0.1" tokio = { version = "1.3.0", features = ["full"] } reqwest = { version = "0.11.2", features = ["blocking", "json"], default_features = false } -warp = "0.3.0" +warp = "0.3.2" diem-logger = { path = "../logger" } diem-metrics = { path = "../metrics" } diff --git a/common/workspace-hack/Cargo.toml b/common/workspace-hack/Cargo.toml index 04424531ee81..8a1a572bf92f 100644 --- a/common/workspace-hack/Cargo.toml +++ b/common/workspace-hack/Cargo.toml @@ -52,7 +52,7 @@ tokio = { version = "1.3.0", features = ["bytes", "default", "fs", "full", "io-s tokio-util = { version = "0.6.4", features = ["codec", "compat", "default", "futures-io", "io"] } toml = { version = "0.5.8", features = ["default"] } tracing = { version = "0.1.25", features = ["attributes", "default", "log", "std", "tracing-attributes"] } -warp = { version = "0.3.0", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } +warp = { version = "0.3.2", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } zeroize = { version = "1.2.0", features = ["alloc", "default", "zeroize_derive"] } [target.x86_64-unknown-linux-gnu.build-dependencies] @@ -102,7 +102,7 @@ tokio = { version = "1.3.0", features = ["bytes", "default", "fs", "full", "io-s tokio-util = { version = "0.6.4", features = ["codec", "compat", "default", "futures-io", "io"] } toml = { version = "0.5.8", features = ["default"] } tracing = { version = "0.1.25", features = ["attributes", "default", "log", "std", "tracing-attributes"] } -warp = { version = "0.3.0", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } +warp = { version = "0.3.2", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } zeroize = { version = "1.2.0", features = ["alloc", "default", "zeroize_derive"] } [target.x86_64-apple-darwin.dependencies] @@ -147,7 +147,7 @@ tokio = { version = "1.3.0", features = ["bytes", "default", "fs", "full", "io-s tokio-util = { version = "0.6.4", features = ["codec", "compat", "default", "futures-io", "io"] } toml = { version = "0.5.8", features = ["default"] } tracing = { version = "0.1.25", features = ["attributes", "default", "log", "std", "tracing-attributes"] } -warp = { version = "0.3.0", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } +warp = { version = "0.3.2", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } zeroize = { version = "1.2.0", features = ["alloc", "default", "zeroize_derive"] } [target.x86_64-apple-darwin.build-dependencies] @@ -197,7 +197,7 @@ tokio = { version = "1.3.0", features = ["bytes", "default", "fs", "full", "io-s tokio-util = { version = "0.6.4", features = ["codec", "compat", "default", "futures-io", "io"] } toml = { version = "0.5.8", features = ["default"] } tracing = { version = "0.1.25", features = ["attributes", "default", "log", "std", "tracing-attributes"] } -warp = { version = "0.3.0", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } +warp = { version = "0.3.2", features = ["default", "multipart", "tls", "tokio-rustls", "tokio-tungstenite", "websocket"] } zeroize = { version = "1.2.0", features = ["alloc", "default", "zeroize_derive"] } ### END HAKARI SECTION diff --git a/json-rpc/Cargo.toml b/json-rpc/Cargo.toml index 3fb732bb76de..59c9b0944e57 100644 --- a/json-rpc/Cargo.toml +++ b/json-rpc/Cargo.toml @@ -20,7 +20,7 @@ rand = "0.8.3" serde_json = "1.0.64" serde = { version = "1.0.124", features = ["derive"], default-features = false } tokio = { version = "1.3.0", features = ["full"] } -warp = { version = "0.3.0", features = ["tls"] } +warp = { version = "0.3.2", features = ["tls"] } reqwest = { version = "0.11.2", features = ["blocking", "json"], default_features = false, optional = true } proptest = { version = "1.0.0", optional = true } diff --git a/storage/backup/backup-cli/Cargo.toml b/storage/backup/backup-cli/Cargo.toml index f2a416d6c055..a2d32089734b 100644 --- a/storage/backup/backup-cli/Cargo.toml +++ b/storage/backup/backup-cli/Cargo.toml @@ -48,7 +48,7 @@ storage-interface = { path = "../../storage-interface" } [dev-dependencies] proptest = "1.0.0" -warp = "0.3.0" +warp = "0.3.2" backup-service = { path = "../backup-service" } executor-test-helpers = { path = "../../../execution/executor-test-helpers" } diff --git a/storage/backup/backup-service/Cargo.toml b/storage/backup/backup-service/Cargo.toml index 3f60e21760b2..b7140b5f8b3b 100644 --- a/storage/backup/backup-service/Cargo.toml +++ b/storage/backup/backup-service/Cargo.toml @@ -16,7 +16,7 @@ hyper = "0.14.4" once_cell = "1.7.2" serde = { version = "1.0.124", default-features = false } tokio = { version = "1.3.0", features = ["full"] } -warp = "0.3.0" +warp = "0.3.2" bcs = "0.1.2" diem-crypto = { path = "../../../crypto/crypto" }