From 4f39b0b0ef83c90757e9751de3fe8cb6f6a2920f Mon Sep 17 00:00:00 2001 From: Darwin Boersma Date: Sat, 23 Nov 2024 15:49:43 -0700 Subject: [PATCH] Version any_spawner alongside other crates, reexport CustomExecutor (#3284) * rc2 version any_spawner Signed-off-by: Darwin Boersma * reexport full any_spawner crate Signed-off-by: Darwin Boersma --------- Signed-off-by: Darwin Boersma --- Cargo.lock | 2 +- Cargo.toml | 2 +- any_spawner/Cargo.toml | 2 +- leptos/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d73dd1f69d..3eceba4ab3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,7 +273,7 @@ dependencies = [ [[package]] name = "any_spawner" -version = "0.1.1" +version = "0.2.0-rc2" dependencies = [ "async-executor", "futures", diff --git a/Cargo.toml b/Cargo.toml index bd00d54255..cc4f6f6796 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ rust-version = "1.76" [workspace.dependencies] throw_error = { path = "./any_error/", version = "0.2.0-rc2" } -any_spawner = { path = "./any_spawner/", version = "0.1.0" } +any_spawner = { path = "./any_spawner/", version = "0.2.0-rc2" } const_str_slice_concat = { path = "./const_str_slice_concat", version = "0.1.0" } either_of = { path = "./either_of/", version = "0.1.0" } hydration_context = { path = "./hydration_context", version = "0.2.0-rc2" } diff --git a/any_spawner/Cargo.toml b/any_spawner/Cargo.toml index 0aaabe0023..1598a8a090 100644 --- a/any_spawner/Cargo.toml +++ b/any_spawner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "any_spawner" -version = "0.1.1" +version = "0.2.0-rc2" authors = ["Greg Johnston"] license = "MIT" readme = "../README.md" diff --git a/leptos/src/lib.rs b/leptos/src/lib.rs index 2fb44e5bd9..04cf16aee9 100644 --- a/leptos/src/lib.rs +++ b/leptos/src/lib.rs @@ -290,7 +290,7 @@ pub mod logging { /// Utilities for working with asynchronous tasks. pub mod task { - pub use any_spawner::Executor; + pub use any_spawner::{self, CustomExecutor, Executor}; use std::future::Future; /// Spawns a thread-safe [`Future`].