From 4f999e7338de4c35e66169eef522625805e55889 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Fri, 1 Mar 2024 12:02:12 -0500 Subject: [PATCH] Add tokio crate --- Cargo.lock | 1 + Cargo.toml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 899d4ae..a88bc00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1847,6 +1847,7 @@ dependencies = [ "pbkdf2", "serde", "time", + "tokio", "wasm-bindgen", ] diff --git a/Cargo.toml b/Cargo.toml index 4f27780..2ce0ab3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,6 +41,7 @@ actix-identity = { version = "0.7.0", optional = true } actix-session = { version = "0.9.0", features = ["redis-rs-session"], optional = true } pbkdf2 = { version = "0.12.2", features = ["simple"], optional = true } futures = { version = "0.3.30", default-features = false, optional = true } +tokio = { version = "1", optional = true } [features] csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] @@ -62,6 +63,7 @@ ssr = [ "actix-session", "pbkdf2", "futures", + "tokio", ] # Defines a size-optimized profile for the WASM bundle in release mode