Cargo Features
PausableClock has no features set by default.
[dependencies]
pausable_clock = { version = "1.0.2", features = ["portable_atomic", "web_time", "features"] }
- portable_atomic = portable-atomic
-
For platforms where
std::sync::atomic
is not available, you can enable this feature to use atomic primitives fromportable-atomic
instead - web_time = web-time
-
For platforms where
std::time
is not available (like WASM), you can enable this feature to use time primitives fromweb-time
instead - features = document-features
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.