[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"
[dependencies.tokio]
default-features = false
features = ["rt"]
optional = true
version = "1.41"
[dependencies.tracing]
optional = true
version = "0.1.40"
[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4.45"
[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
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.2.0-rc2"
[package.metadata.cargo-all-features]
denylist = ["tracing"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "custom_runtime"
path = "tests/custom_runtime.rs"
[[test]]
name = "futures_runtime"
path = "tests/futures_runtime.rs"