[dependencies.async-executor]
optional = true
version = "1.13.1"
[dependencies.futures]
version = "0.3.31"
[dependencies.glib]
optional = true
version = "0.20.6"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tokio]
default-features = false
features = ["rt"]
optional = true
version = "1.41"
[dependencies.tracing]
optional = true
version = "0.1.41"
[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4.50"
[dev-dependencies.futures-lite]
default-features = false
version = "2.6.0"
[dev-dependencies.serial_test]
version = "3.2.0"
[dev-dependencies.tokio]
default-features = false
features = ["rt", "macros", "time"]
version = "1.41"
[dev-dependencies.wasm-bindgen-test]
version = "0.3.50"
[features]
async-executor = ["dep:async-executor"]
futures-executor = ["futures/thread-pool", "futures/executor"]
glib = ["dep:glib"]
tokio = ["dep:tokio"]
tracing = ["dep:tracing"]
wasm-bindgen = ["dep:wasm-bindgen-futures"]
[lib]
name = "any_spawner"
path = "src/lib.rs"
[package]
authors = ["Greg Johnston"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Spawn asynchronous tasks in an executor-independent way."
edition = "2021"
license = "MIT"
name = "any_spawner"
readme = "README.md"
repository = "https://github.com/leptos-rs/leptos"
version = "0.3.0-rc2"
[package.metadata.cargo-all-features]
denylist = ["tracing"]
max_combination_size = 2
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "already_set_error"
path = "tests/already_set_error.rs"
[[test]]
name = "async_executor"
path = "tests/async_executor.rs"
[[test]]
name = "custom_executor"
path = "tests/custom_executor.rs"
[[test]]
name = "custom_runtime"
path = "tests/custom_runtime.rs"
[[test]]
name = "executor_tick"
path = "tests/executor_tick.rs"
[[test]]
name = "futures_executor"
path = "tests/futures_executor.rs"
[[test]]
name = "futures_runtime"
path = "tests/futures_runtime.rs"
[[test]]
name = "glib"
path = "tests/glib.rs"
[[test]]
name = "local_custom_executor"
path = "tests/local_custom_executor.rs"
[[test]]
name = "multiple_tasks"
path = "tests/multiple_tasks.rs"
[[test]]
name = "tokio_executor"
path = "tests/tokio_executor.rs"
[[test]]
name = "wasm_bindgen_tests"
path = "tests/wasm_bindgen_tests.rs"