Update Rust crate indicatif to ^0.17.0 #408
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.16
->^0.17.0
Release Notes
console-rs/indicatif (indicatif)
v0.17.8
Compare Source
What's Changed
real_len
by @tgolsson in https://github.com/console-rs/indicatif/pull/608VisualLines
newtype wrapper by @smoelius in https://github.com/console-rs/indicatif/pull/616{percent_precise}
style key by @OmarTawfik in https://github.com/console-rs/indicatif/pull/628v0.17.7
Compare Source
What's Changed
v0.17.6
Compare Source
What's Changed
ProgressState::duration()
overflow by @alexheretic in https://github.com/console-rs/indicatif/pull/560v0.17.5
Compare Source
Another smaller release. Fixes a regression from 0.17.4 and should drastically improve ETA and speed estimation thanks to great work by @afontenot in #539.
with_finish
method toProgressBarIter
(#548, thanks to @matthewhchan)On behalf of @chris-laplante and @djc, thanks to all contributors!
v0.17.4
Compare Source
Another small bugfix release.
with_
docs (#529, thanks to @lnicola)TermLike
targets (#526, thanks to @akx)ProgressDrawTarget
(#523, thanks to @tillarnold)MultiProgress
alignment handling and migrate from structopt => clap (#516)instant::Instant
when compiling to WASM (#514, thanks to @azriel91)contents_formatted()
method to `InMemoryTerm (#531, thanks to @dfaust)inc()
after work in examples (#522, thanks to @tatref)On behalf of the indicatif team (@chris-laplante and @djc), thanks to all contributors!
v0.17.3
Compare Source
A small maintenance release:
"fs"
feature in tokio dependency. by @azriel91 in https://github.com/console-rs/indicatif/pull/504Full Changelog: console-rs/indicatif@0.17.2...0.17.3
v0.17.2
Compare Source
A small maintenance release which makes indicatif more portable and fixes some minor regressions.
On behalf of @djc and @chris-laplante, thanks to all contributors!
v0.17.1
Compare Source
2.5 months after the large 0.17 release, we (finally) have a release that addresses most of the regressions found in 0.17. There is ongoing work on changes in the estimation algorithm, tracked in #394, which has regressed for some users.
Note that we made some technically semver-breaking change of adding a missing
Sync
bound to theProgressTracker
bounds (#471). We're assuming that most users don't (yet) have customProgressTracker
impls, and that users who do have probably built one that isSync
anyway.Fixed regressions
unicode-width
feature spelling (#456)MultiProgress
zombie line handling (#460)ProgressBar::style()
(#476, thanks to @andrewchambers)Other changes
HumanFloatCount
formatting option (#453, thanks to @jqnatividad)Sync
bound toProgressTracker
(#471)write_all()
impl fromProgressBarIter
'sWrite
impl (#478, thanks to @hexagonal-sun)Thanks from @djc and @chris-laplante to all contributors!
v0.17.0
Compare Source
indicatif is one of the most popular terminal progress bar libraries in the Rust ecosystem. More than a year after the 0.16.0 release, we're happy to finally release 0.17. In the past year, the indicatif team has grown to two maintainers, since @chris-laplante joined @djc as a maintainer. We also now have a Discord channel.
Apart from many small API additions and fixes, particular effort has gone into reducing the overhead for reporting progress. To this end, we've removed some of the explicit rate limiting APIs in favor of a single refresh rate in the
ProgressDrawTarget
. We now set a rate limit by default (50ms) that should drastically reduce overhead for most applications while being more than enough for most terminal applications. Additionally, position updates are now synchronized by using atomic integer APIs instead of a mutex. In a basic test the simplest possible progress bar is about 95x faster on 0.17.0 compared to 0.16.2.We've made many changes to the way
MultiProgress
collections work. You no longer need to explicitlyjoin()
theMultiProgress
, there are more ways to insert new progress bars into the collection, and many correctness improvements have been made, in part to more effort having gone into testing the crate.Additionally, we've reduced our dependency footprint, removing lazy_static and regex from our required dependencies.
Additions
HumanCount
and template keys to print more humane position/length (#340, thanks to @dabreegster)ProgressBar::suspend()
(#333, thanks to @ishitatsuyuki)ProgressIterator::progress_with_style()
(#306, thanks to @LeCyberDucky)stream_position()
inProgressBarIter
(#309, thanks to @rlee287)AsyncRead
/AsyncWrite
support forProgressBar
(#308, thanks to @x0f5c3)AsyncBufRead
implementation forProgressBarIterator
(#315, thanks to @x0f5c3)ProgressBarIter
(#337, thanks to @chubei-oppen)ProgressBar
elapsed time (#325, thanks to @zhaofengli)ProgressBar::style()
to enable access to the current style (#396, thanks to @andrewchambers)Performance
ProgressDrawTarget
to reduce in-memory size (#277, thanks to @mibac138)MultiProgress
changesMultiProgress
drawing on the main thread (#231 and #284, thanks to @marienz and @aj-bagwell)MultiProgress
(#326, thanks to @omjadas)insert_after()
/insert_before()
methods onMultiProgress
(#331, with follow up in #424)MultiProgress
: addprintln()
andsuspend()
methods (#351)MultiProgress
: prune zombie progress bars (#438, with follow up in #446)is_hidden()
work forMultiProgress
(#430)MultiProgress
bars (#295, thanks to @nlinker)Fixes
ProgressFolder
shouldn't finish progress bars on completion (#290, thanks to @mibac138)per_sec
values to make them more readable (#312)HumanDuration
values (#296, thanks to @Armavica)WeakProgressBar::new()
should not takeself
(#359, thanks to @ishitatsuyuki)Non-functional improvements
wide_bar
andwide_msg
(#329, thanks to @sigmaSd)doc(cfg)
to improve docs.rs documentation (#399)Option
(#415)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.