Cargo Features
[dependencies]
yield-progress = { version = "0.2.0", default-features = false, features = ["sync", "log_hiccups"] }
- default = sync
-
The
syncfeature is set by default wheneveryield-progressis added withoutsomewhere in the dependency tree.default-features = false - sync default
-
Implements
YieldProgress: Send + Syncfor use with multi-threaded executors. Requiresstdto be available for the compilation target. - log_hiccups
-
Log intervals between yields longer than 100 ms. Requires
stdto be available for the compilation target. This might be removed in favor of something more configurable in future versions, in which case the feature flag may still exist but do nothing.Enables log
Used for logging over-long intervals between yields. TODO: This should be pluggable instead
and web-time
Used for reading the current time on wasm. TODO: This should be pluggable instead