diff --git a/Cargo.lock b/Cargo.lock index 25aef9b84..629555618 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2638,6 +2638,15 @@ dependencies = [ "yew", ] +[[package]] +name = "timer_functional" +version = "0.1.0" +dependencies = [ + "gloo", + "js-sys", + "yew", +] + [[package]] name = "tinyvec" version = "1.6.0" @@ -2668,14 +2677,13 @@ dependencies = [ [[package]] name = "tokio" -version = "1.26.0" +version = "1.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" +checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" dependencies = [ "autocfg", "bytes", "libc", - "memchr", "mio", "num_cpus", "parking_lot", @@ -2688,13 +2696,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.8.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" +checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.13", ] [[package]] diff --git a/examples/simple_ssr/Cargo.toml b/examples/simple_ssr/Cargo.toml index 6556f341d..c20c6ef37 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.26.0", features = ["full"] } +tokio = { version = "1.27.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 77e6117bf..d32441bc7 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.26.0", features = ["full"] } +tokio = { version = "1.27.0", features = ["full"] } axum = "0.6" 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 9e20d13c0..6d598eec5 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.26", features = ["rt"] } +tokio = { version = "1.27", 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.26", features = ["full"] } +tokio = { version = "1.27", features = ["full"] } [dev-dependencies] wasm-bindgen-test = "0.3" diff --git a/tools/benchmark-ssr/Cargo.toml b/tools/benchmark-ssr/Cargo.toml index a66c51395..1651b49ec 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.26", features = ["full"] } +tokio = { version = "1.27", 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 c64893013..4797de43d 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.26.0", features = ["rt", "macros"] } +tokio = { version = "1.27.0", features = ["rt", "macros"] } [dev-dependencies.web-sys] version = "0.3"