mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
30 lines
820 B
TOML
30 lines
820 B
TOML
[package]
|
|
name = "any_spawner"
|
|
edition = "2021"
|
|
version = "0.1.1"
|
|
authors = ["Greg Johnston"]
|
|
license = "MIT"
|
|
readme = "../README.md"
|
|
repository = "https://github.com/leptos-rs/leptos"
|
|
description = "Spawn asynchronous tasks in an executor-independent way."
|
|
|
|
[dependencies]
|
|
futures = "0.3"
|
|
glib = { version = "0.19", optional = true }
|
|
thiserror = "1"
|
|
tokio = { version = "1", optional = true, default-features = false, features = [
|
|
"rt",
|
|
] }
|
|
tracing = { version = "0.1", optional = true }
|
|
wasm-bindgen-futures = { version = "0.4", optional = true }
|
|
|
|
[features]
|
|
tracing = ["dep:tracing"]
|
|
tokio = ["dep:tokio"]
|
|
glib = ["dep:glib"]
|
|
wasm-bindgen = ["dep:wasm-bindgen-futures"]
|
|
futures-executor = ["futures/thread-pool", "futures/executor"]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|