[build-dependencies.cc]
optional = true
version = "1"
[dependencies.error-code]
version = "3"
[dev-dependencies.tokio_1]
default-features = false
features = ["macros", "rt"]
package = "tokio"
version = "1.35"
[features]
c_wrapper = ["cc"]
default = []
std = ["error-code/std"]
tokio1 = ["tokio_1", "std"]
[lib]
name = "async_timer"
path = "src/lib.rs"
[package]
authors = ["Douman <douman@gmx.se>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["asynchronous", "wasm", "no-std"]
description = "Timers for Rust async story"
edition = "2018"
include = ["**/*.rs", "**/*.c", "Cargo.toml", "README.md"]
keywords = ["timer", "async", "wasm"]
license = "BSL-1.0"
name = "async-timer"
readme = "README.md"
repository = "https://github.com/DoumanAsh/async-timer"
version = "1.0.0-beta.15"
[target.'cfg(any(target_arch = "wasm32"))'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(any(target_arch = "wasm32"))'.dependencies.web-time]
version = "1.1"
[target.'cfg(any(target_os = "macos", target_os = "ios", windows, unix))'.dependencies.libc]
default-features = false
version = "0.2.60"
[target.'cfg(any(target_os = "macos", target_os = "ios", windows, unix))'.dependencies.tokio_1]
default-features = false
features = ["net"]
optional = true
package = "tokio"
version = "1.35"
[[test]]
name = "interval"
path = "tests/interval.rs"
[[test]]
name = "timed"
path = "tests/timed.rs"
[[test]]
name = "timer"
path = "tests/timer.rs"