[package] name = "prokio" version = "0.1.0" authors = ["Kaede Hoshikawa "] edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["yew", "futures", "async", "io"] categories = ["asynchronous"] description = "An asynchronous runtime compatible with WebAssembly and non-WebAssembly targets." repository = "https://github.com/futursolo/prokio" rust-version = "1.60.0" [dependencies] futures = { version = "0.3", default-features = false, features = ["std", "async-await"] } pin-project = "1.0.11" pinned = "0.1.0" [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen-futures = "0.4" gloo = "0.8" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] num_cpus = "1.13" once_cell = "1" tokio = { version = "1.21.1", features = ["rt", "time"] } tokio-stream = { version = "0.1", features = ["time"] } [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] tokio = { version = "1.19", features = ["full"] } [features] default = [] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "documenting"]