2024-02-17 01:37:59 +00:00
|
|
|
[package]
|
|
|
|
name = "any_spawner"
|
2024-06-28 19:54:33 +00:00
|
|
|
version = "0.1.1"
|
2024-04-27 15:04:23 +00:00
|
|
|
authors = ["Greg Johnston"]
|
|
|
|
license = "MIT"
|
|
|
|
readme = "../README.md"
|
|
|
|
repository = "https://github.com/leptos-rs/leptos"
|
|
|
|
description = "Spawn asynchronous tasks in an executor-independent way."
|
2024-08-12 23:25:47 +00:00
|
|
|
edition.workspace = true
|
2024-02-17 01:37:59 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-10-14 11:57:19 +00:00
|
|
|
async-executor = { version = "1.13.1", optional = true }
|
2024-11-04 21:21:35 +00:00
|
|
|
futures = "0.3.31"
|
|
|
|
glib = { version = "0.20.5", optional = true }
|
2024-11-07 18:55:57 +00:00
|
|
|
thiserror = "2.0"
|
2024-11-04 21:21:35 +00:00
|
|
|
tokio = { version = "1.41", optional = true, default-features = false, features = [
|
2024-08-11 00:01:41 +00:00
|
|
|
"rt",
|
2024-04-27 15:04:23 +00:00
|
|
|
] }
|
2024-08-11 00:01:41 +00:00
|
|
|
tracing = { version = "0.1.40", optional = true }
|
2024-11-04 21:21:35 +00:00
|
|
|
wasm-bindgen-futures = { version = "0.4.45", optional = true }
|
2024-02-17 01:37:59 +00:00
|
|
|
|
|
|
|
[features]
|
2024-10-14 11:57:19 +00:00
|
|
|
async-executor = ["dep:async-executor"]
|
2024-02-17 01:37:59 +00:00
|
|
|
tracing = ["dep:tracing"]
|
|
|
|
tokio = ["dep:tokio"]
|
|
|
|
glib = ["dep:glib"]
|
|
|
|
wasm-bindgen = ["dep:wasm-bindgen-futures"]
|
|
|
|
futures-executor = ["futures/thread-pool", "futures/executor"]
|
|
|
|
|
2024-10-14 11:57:19 +00:00
|
|
|
|
2024-02-17 01:37:59 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2024-08-23 21:34:05 +00:00
|
|
|
|
|
|
|
[package.metadata.cargo-all-features]
|
|
|
|
denylist = ["tracing"]
|