[package]
edition = "2021"
rust-version = "1.91"
name = "polyoxide-rt"
version = "0.46.0"
authors = ["Aidan Bailey"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The runtime seam the polyoxide crates share: an injected clock, sleep and spawn, with the tasks, timeouts and intervals built on them"
readme = "README.md"
keywords = [
"async",
"runtime",
"timer",
"wasm",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dilettante-trading/polyoxide"
resolver = "3"
[package.metadata.polyoxide]
readme = "The runtime seam: an injected clock, sleep and spawn, with the tasks, timeouts and intervals built on them"
notes = ["names no venue, which `scripts/venue_gate.py` holds, and builds futures-channel, futures-util and web-time on every target, tokio (`rt` and `time`) on a host, and getrandom, gloo-timers, send_wrapper and wasm-bindgen-futures on `wasm32`"]
[lib]
name = "polyoxide_rt"
path = "src/lib.rs"
[[test]]
name = "tokio_runtime"
path = "tests/tokio_runtime.rs"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.web-time]
version = "1"
[dev-dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt",
"test-util",
"time",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.41"
features = [
"rt",
"time",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3.4"
features = ["wasm_js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.3"
features = ["futures"]
[target.'cfg(target_arch = "wasm32")'.dependencies.send_wrapper]
version = "0.6"
features = ["futures"]
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"