mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
Version any_spawner alongside other crates, reexport CustomExecutor (#3284)
* rc2 version any_spawner Signed-off-by: Darwin Boersma <darwin@sadlark.com> * reexport full any_spawner crate Signed-off-by: Darwin Boersma <darwin@sadlark.com> --------- Signed-off-by: Darwin Boersma <darwin@sadlark.com>
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -273,7 +273,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "any_spawner"
|
||||
version = "0.1.1"
|
||||
version = "0.2.0-rc2"
|
||||
dependencies = [
|
||||
"async-executor",
|
||||
"futures",
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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`].
|
||||
|
||||
Reference in New Issue
Block a user