diff --git a/Cargo.lock b/Cargo.lock index 1dc4b80dc133c..c6bbd1609a973 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7754,9 +7754,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.21.1" +version = "1.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0020c875007ad96677dcc890298f4b942882c5d4eb7cc8f439fc3bf813dc9c95" +checksum = "597a12a59981d9e3c38d216785b0c37399f6e415e8d0712047620f189371b0bb" dependencies = [ "autocfg", "bytes 1.2.1", @@ -7764,14 +7764,13 @@ dependencies = [ "memchr", "mio", "num_cpus", - "once_cell", "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", "tracing 0.1.34", - "winapi", + "windows-sys 0.42.0", ] [[package]] @@ -9653,6 +9652,27 @@ dependencies = [ "windows_x86_64_msvc 0.36.1", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc 0.42.1", + "windows_i686_gnu 0.42.1", + "windows_i686_msvc 0.42.1", + "windows_x86_64_gnu 0.42.1", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc 0.42.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" + [[package]] name = "windows_aarch64_msvc" version = "0.30.0" @@ -9671,6 +9691,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" + [[package]] name = "windows_i686_gnu" version = "0.30.0" @@ -9689,6 +9715,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +[[package]] +name = "windows_i686_gnu" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" + [[package]] name = "windows_i686_msvc" version = "0.30.0" @@ -9707,6 +9739,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +[[package]] +name = "windows_i686_msvc" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" + [[package]] name = "windows_x86_64_gnu" version = "0.30.0" @@ -9725,6 +9763,18 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" + [[package]] name = "windows_x86_64_msvc" version = "0.30.0" @@ -9743,6 +9793,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" + [[package]] name = "winreg" version = "0.7.0" diff --git a/Cargo.toml b/Cargo.toml index 191c0e232edc7..184a1ebd16eaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -136,7 +136,7 @@ vrl-cli = { path = "lib/vrl/cli", optional = true } async-stream = { version = "0.3.3", default-features = false } async-trait = { version = "0.1.57", default-features = false } futures = { version = "0.3.24", default-features = false, features = ["compat", "io-compat"], package = "futures" } -tokio = { version = "1.21.1", default-features = false, features = ["full"] } +tokio = { version = "1.24.2", default-features = false, features = ["full"] } tokio-openssl = { version = "0.6.3", default-features = false } tokio-stream = { version = "0.1.10", default-features = false, features = ["net", "sync", "time"] } tokio-util = { version = "0.7", default-features = false, features = ["io", "time"] } @@ -344,7 +344,7 @@ proptest = "1.0" quickcheck = "1.0.3" reqwest = { version = "0.11", features = ["json"] } tempfile = "3.3.0" -tokio = { version = "1.21.0", features = ["test-util"] } +tokio = { version = "1.24.2", features = ["test-util"] } tokio-test = "0.4.2" tower-test = "0.4.0" value = { path = "lib/value", features = ["test"] } diff --git a/lib/file-source/Cargo.toml b/lib/file-source/Cargo.toml index c488113780b62..d7c2f0c4062bf 100644 --- a/lib/file-source/Cargo.toml +++ b/lib/file-source/Cargo.toml @@ -66,7 +66,7 @@ default-features = false features = [] [dependencies.tokio] -version = "1.21.0" +version = "1.24.2" default-features = false features = ["full"] diff --git a/lib/k8s-e2e-tests/Cargo.toml b/lib/k8s-e2e-tests/Cargo.toml index ae7aa7137c376..074bdea2b8606 100644 --- a/lib/k8s-e2e-tests/Cargo.toml +++ b/lib/k8s-e2e-tests/Cargo.toml @@ -14,7 +14,7 @@ k8s-test-framework = { version = "0.1", path = "../k8s-test-framework" } regex = "1" reqwest = { version = "0.11.12", features = ["json"] } serde_json = "1" -tokio = { version = "1.21.0", features = ["full"] } +tokio = { version = "1.24.2", features = ["full"] } indoc = "1.0.7" env_logger = "0.9" tracing = { version = "0.1", features = ["log"] } diff --git a/lib/k8s-test-framework/Cargo.toml b/lib/k8s-test-framework/Cargo.toml index 9f9c375837dc2..c2a969ab1ea7b 100644 --- a/lib/k8s-test-framework/Cargo.toml +++ b/lib/k8s-test-framework/Cargo.toml @@ -11,5 +11,5 @@ license = "MPL-2.0" k8s-openapi = { version = "0.16.0", default-features = false, features = ["v1_19"] } serde_json = "1" tempfile = "3" -tokio = { version = "1.21.0", features = ["full"] } +tokio = { version = "1.24.2", features = ["full"] } log = "0.4" diff --git a/lib/vector-api-client/Cargo.toml b/lib/vector-api-client/Cargo.toml index cde23af6d470f..6bd865000119a 100644 --- a/lib/vector-api-client/Cargo.toml +++ b/lib/vector-api-client/Cargo.toml @@ -18,7 +18,7 @@ anyhow = { version = "1.0.65", default-features = false, features = ["std"] } # Tokio / Futures async-trait = { version = "0.1", default-features = false } futures = { version = "0.3", default-features = false, features = ["compat", "io-compat"] } -tokio = { version = "1.21.0", default-features = false, features = ["macros", "rt", "sync"] } +tokio = { version = "1.24.2", default-features = false, features = ["macros", "rt", "sync"] } tokio-stream = { version = "0.1.10", default-features = false, features = ["sync"] } # GraphQL diff --git a/lib/vector-buffers/Cargo.toml b/lib/vector-buffers/Cargo.toml index 2815a7e00ef9d..7d792879d124b 100644 --- a/lib/vector-buffers/Cargo.toml +++ b/lib/vector-buffers/Cargo.toml @@ -27,7 +27,7 @@ rkyv = { version = "0.7.39", default-features = false, features = ["size_32", "s serde = { version = "1.0.145", default-features = false, features = ["derive"] } snafu = { version = "0.7.1", default-features = false, features = ["std"] } tokio-util = { version = "0.7.0", default-features = false } -tokio = { version = "1.21.0", default-features = false, features = ["rt", "macros", "rt-multi-thread", "sync", "fs", "io-util", "time"] } +tokio = { version = "1.24.2", default-features = false, features = ["rt", "macros", "rt-multi-thread", "sync", "fs", "io-util", "time"] } tracing = { version = "0.1.34", default-features = false, features = ["attributes"] } vector-config = { path = "../vector-config", default-features = false } vector-config-common = { path = "../vector-config-common", default-features = false } diff --git a/lib/vector-common/Cargo.toml b/lib/vector-common/Cargo.toml index a220179e50abb..06e40e98be516 100644 --- a/lib/vector-common/Cargo.toml +++ b/lib/vector-common/Cargo.toml @@ -62,7 +62,7 @@ serde = { version = "1.0.145", optional = true, features = ["derive"] } smallvec = { version = "1", default-features = false } snafu = { version = "0.7", optional = true } stream-cancel = { version = "0.8.1", default-features = false } -tokio = { version = "1.21.0", default-features = false, features = ["macros", "time"] } +tokio = { version = "1.24.2", default-features = false, features = ["macros", "time"] } tracing = { version = "0.1.34", default-features = false } value = { path = "../value", features = ["json"] } vector-config = { path = "../vector-config" } @@ -71,4 +71,4 @@ vector-config-macros = { path = "../vector-config-macros" } [dev-dependencies] futures = { version = "0.3.24", default-features = false, features = ["async-await", "std"] } -tokio = { version = "1.21.0", default-features = false, features = ["rt", "time"] } +tokio = { version = "1.24.2", default-features = false, features = ["rt", "time"] } diff --git a/lib/vector-core/Cargo.toml b/lib/vector-core/Cargo.toml index 9194429c294d1..77a1af63be2b5 100644 --- a/lib/vector-core/Cargo.toml +++ b/lib/vector-core/Cargo.toml @@ -44,7 +44,7 @@ serde_json = { version = "1.0.85", default-features = false } serde_with = { version = "2.0.1", default-features = false, features = ["std", "macros"] } snafu = { version = "0.7.1", default-features = false } socket2 = { version = "0.4.7", default-features = false } -tokio = { version = "1.21.0", default-features = false, features = ["net"] } +tokio = { version = "1.24.2", default-features = false, features = ["net"] } tokio-openssl = { version = "0.6.3", default-features = false } tokio-stream = { version = "0.1", default-features = false, features = ["time"], optional = true } tokio-util = { version = "0.7.0", default-features = false, features = ["time"] }