Cargo Features
async-timer has no features set by default.
[dependencies]
async-timer = { version = "1.0.0-beta.15", features = ["std", "c_wrapper", "tokio1"] }
- std tokio1?
-
Enables std usage
Enables std of error-code
- c_wrapper = cc
-
Enables C API wrapper for platform code.
- tokio1 = std, tokio_1
-
Enables usage of tokio 1.0
Affects
timer::Platform
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.