diff --git a/examples/leptos-tailwind-axum/Cargo.toml b/examples/leptos-tailwind-axum/Cargo.toml index 9d14c0c276..a37481a312 100644 --- a/examples/leptos-tailwind-axum/Cargo.toml +++ b/examples/leptos-tailwind-axum/Cargo.toml @@ -17,7 +17,7 @@ leptos_axum = { path = "../../integrations/axum", optional = true } leptos_router = { path = "../../router", features = ["nightly"] } log = "0.4.17" simple_logger = "4" -tokio = { version = "1.28.1", optional = true } +tokio = { version = "1.28.1", features = ["rt-multi-thread", "macros"], optional = true } tower = { version = "0.4.13", optional = true } tower-http = { version = "0.4", features = ["fs"], optional = true } wasm-bindgen = "0.2.84" diff --git a/examples/ssr_modes_axum/Cargo.toml b/examples/ssr_modes_axum/Cargo.toml index 1c350dc959..f665eb1d7c 100644 --- a/examples/ssr_modes_axum/Cargo.toml +++ b/examples/ssr_modes_axum/Cargo.toml @@ -21,7 +21,7 @@ thiserror = "1" axum = { version = "0.6.1", optional = true } tower = { version = "0.4.13", optional = true } tower-http = { version = "0.4", features = ["fs"], optional = true } -tokio = { version = "1", features = ["time"], optional = true } +tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"], optional = true } wasm-bindgen = "0.2" [features] diff --git a/integrations/axum/Cargo.toml b/integrations/axum/Cargo.toml index d1fac2d9bd..ec34b441a3 100644 --- a/integrations/axum/Cargo.toml +++ b/integrations/axum/Cargo.toml @@ -27,5 +27,5 @@ cfg-if = "1.0.0" [features] nonce = ["leptos/nonce"] wasm = [] -default = ["tokio/full", "axum/macros"] +default = ["tokio/fs", "tokio/sync"] experimental-islands = ["leptos_integration_utils/experimental-islands"] \ No newline at end of file