diff --git a/Cargo.lock b/Cargo.lock index ef12f1201..5f48a6431 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2593,9 +2593,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.25.0" +version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af" +checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" dependencies = [ "autocfg", "bytes", @@ -2608,7 +2608,7 @@ dependencies = [ "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] diff --git a/examples/simple_ssr/Cargo.toml b/examples/simple_ssr/Cargo.toml index 5265df686..44b256cdf 100644 --- a/examples/simple_ssr/Cargo.toml +++ b/examples/simple_ssr/Cargo.toml @@ -26,7 +26,7 @@ wasm-logger = "0.2" log = "0.4" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -tokio = { version = "1.15.0", features = ["full"] } +tokio = { version = "1.26.0", features = ["full"] } warp = "0.3" clap = { version = "3.1.7", features = ["derive"] } diff --git a/examples/ssr_router/Cargo.toml b/examples/ssr_router/Cargo.toml index ca20bb14b..f3360b294 100644 --- a/examples/ssr_router/Cargo.toml +++ b/examples/ssr_router/Cargo.toml @@ -24,7 +24,7 @@ wasm-bindgen-futures = "0.4" wasm-logger = "0.2" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -tokio = { version = "1.15.0", features = ["full"] } +tokio = { version = "1.26.0", features = ["full"] } axum = "0.5" tower = { version = "0.4", features = ["make"] } tower-http = { version = "0.3", features = ["fs"] } diff --git a/packages/yew/Cargo.toml b/packages/yew/Cargo.toml index 52bed127e..bd0d5164c 100644 --- a/packages/yew/Cargo.toml +++ b/packages/yew/Cargo.toml @@ -40,7 +40,7 @@ wasm-bindgen-futures = "0.4" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] # We still need tokio as we have docs linked to it. -tokio = { version = "1.19", features = ["rt"] } +tokio = { version = "1.26", features = ["rt"] } [dependencies.web-sys] version = "^0.3.59" @@ -79,7 +79,7 @@ features = [ ] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] -tokio = { version = "1.19", features = ["full"] } +tokio = { version = "1.26", features = ["full"] } [dev-dependencies] wasm-bindgen-test = "0.3" diff --git a/tools/benchmark-ssr/Cargo.toml b/tools/benchmark-ssr/Cargo.toml index 17c03ffbd..5f746bf7f 100644 --- a/tools/benchmark-ssr/Cargo.toml +++ b/tools/benchmark-ssr/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] yew = { path = "../../packages/yew", features = ["ssr"] } function_router = { path = "../../examples/function_router" } -tokio = { version = "1.19", features = ["full"] } +tokio = { version = "1.26", features = ["full"] } jemallocator = "0.5.0" average = "0.13.1" tabled = "0.8.0" diff --git a/tools/website-test/Cargo.toml b/tools/website-test/Cargo.toml index 25db4c296..c64893013 100644 --- a/tools/website-test/Cargo.toml +++ b/tools/website-test/Cargo.toml @@ -19,7 +19,7 @@ wasm-bindgen-futures = "0.4" weblog = "0.3.0" yew = { path = "../../packages/yew/", features = ["ssr", "csr"] } yew-router = { path = "../../packages/yew-router/" } -tokio = { version = "1.15.0", features = ["rt", "macros"] } +tokio = { version = "1.26.0", features = ["rt", "macros"] } [dev-dependencies.web-sys] version = "0.3"