Skip to content

Commit

Permalink
Version any_spawner alongside other crates, reexport CustomExecutor (#…
Browse files Browse the repository at this point in the history
…3284)

* rc2 version any_spawner

Signed-off-by: Darwin Boersma <[email protected]>

* reexport full any_spawner crate

Signed-off-by: Darwin Boersma <[email protected]>

---------

Signed-off-by: Darwin Boersma <[email protected]>
  • Loading branch information
ogghead authored Nov 23, 2024
1 parent 980595f commit 4f39b0b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion any_spawner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion leptos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
Expand Down

0 comments on commit 4f39b0b

Please sign in to comment.