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:
Darwin Boersma
2024-11-23 15:49:43 -07:00
committed by GitHub
parent 980595f1f0
commit 4f39b0b0ef
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -273,7 +273,7 @@ dependencies = [
[[package]]
name = "any_spawner"
version = "0.1.1"
version = "0.2.0-rc2"
dependencies = [
"async-executor",
"futures",

View File

@@ -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" }

View File

@@ -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"

View File

@@ -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`].