- Added
YieldProgress::split_evenly_concurrent()
for reporting progress from concurrent tasks.
YieldProgress::noop()
is no longer deprecated.- Replaced the optional
instant
dependency withweb-time
. If you previously found it necessary to declare theinstant/wasm-bindgen
feature, you will no longer need to do this.
- Fixed
YieldProgress::start_and_cut()
always using zero as the start position.
- Fixed
ProgressInfo::label_str()
not being public.
Updated README for accuracy regarding the changes in v0.1.1.
basic_yield_now()
is a yield function that may be adequate rather than writing your own.Builder
is a builder forYieldProgress
instances.ProgressInfo
andYieldInfo
offer information to the callback functions.- Feature
sync
may be disabled to avoid requiringstd::sync
. - With all features disabled, the crate is now
no_std
compatible.
The functions YieldProgress::new()
and YieldProgress::noop()
have been deprecated
in favor of using the Builder
. The builder also differs in the following ways:
Builder::new().build()
usesbasic_yield_now()
rather than not yielding at all.- The progress and yield callbacks are given
&ProgressInfo
and&YieldInfo
structs.
- No logging is done unless the
log_hiccups
feature is enabled.
Initial public release.