Cargo Features

[dependencies]
yield-progress = { version = "0.1.6", default-features = false, features = ["sync", "log_hiccups"] }
default = sync

The sync feature is set by default whenever yield-progress is added without default-features = false somewhere in the dependency tree.

sync default

Implements YieldProgress: Send + Sync for use with multi-threaded executors. Requires std to be available for the compilation target.

log_hiccups

Log intervals between yields longer than 100 ms. Requires std to 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