Skip to content

Update indicatif - #77

Merged
bors[bot] merged 2 commits into
science-computing:masterfrom
matthiasbeyer:update-indicatif
Nov 19, 2022
Merged

Update indicatif#77
bors[bot] merged 2 commits into
science-computing:masterfrom
matthiasbeyer:update-indicatif

Conversation

@matthiasbeyer

Copy link
Copy Markdown
Contributor

Includes and supersedes #74

@matthiasbeyer

Copy link
Copy Markdown
Contributor Author

Changes here should be tested, because indicatif changed some interfaces and thus might also change behaviour that I did not check here.

@christophprokop

christophprokop commented Nov 18, 2022

Copy link
Copy Markdown
Collaborator

will test after we decided on #78

#78 is merged - will test after conflicts are resolved

dependabot Bot and others added 2 commits November 19, 2022 08:55
Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.16.2 to 0.17.2.
- [Release notes](https://github.com/console-rs/indicatif/releases)
- [Commits](console-rs/indicatif@0.16.2...0.17.2)

---
updated-dependencies:
- dependency-name: indicatif
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
So we need to adapt for the indicatif interface changes.
First of all, `ProgressStyle::template()` returns a `Result` now, so we
need to adapt `ProgressBars::bar()` to also return a `Result` type and
adjust all uses of this function.

Secondly, we do not need to `MultiBar::join()` anymore, which makes some
future collecting less complex.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@christophprokop

Copy link
Copy Markdown
Collaborator

works! thank you!
bors merge

@bors

bors Bot commented Nov 19, 2022

Copy link
Copy Markdown
Contributor

Build succeeded:

@bors
bors Bot merged commit fc03e20 into science-computing:master Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants