Update Rust crate itertools to 0.15 #6

Open
Renovate wants to merge 1 commit from renovate/itertools-0.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
itertools dependencies minor 0.12 → 0.15

Release Notes

rust-itertools/itertools (itertools)

v0.15.0

Compare Source

Breaking
  • Restructure Position as struct instead of enum (#​1042, #​1043)
  • Canonicalize all_equal_value's error type (#​1032)
Added
  • Add *_with_hasher adaptors (#​1007)
  • Add strip_prefix and strip_prefix_by methods (#​1104)
Changed
  • Remove Clone bounds from tuple_combinations and array_combinations(#​1011)
  • must_use for collect_vec (#​1009)
  • Make izip! temporary friendly (#​1021)
  • Add array_combinations_with_replacement (#​1033)
  • Implement Debug for remaining public types (#​1038)
  • Specialize ExactlyOneError::count (#​1046)
  • Implement PeekingNext for more types, in particular vec::IntoIter (#​1059, #​1073)
  • Fix PadUsing::next_back (#​1082)
  • Introduce [circular_]array_windows, deprecate tuple_windows (#​1086)
  • Deprecate tuple_combinations (replaced by array_combinations) (#​1085)
Notable Internal Changes

v0.14.0

Compare Source

Breaking
  • Increased MSRV to 1.63.0 (#​960)
  • Removed generic parameter from cons_tuples (#​988)
Added
  • Added array_combinations (#​991)
  • Added k_smallest_relaxed and variants (#​925)
  • Added next_array and collect_array (#​560)
  • Implemented DoubleEndedIterator for FilterOk (#​948)
  • Implemented DoubleEndedIterator for FilterMapOk (#​950)
Changed
  • Allow Q: ?Sized in Itertools::contains (#​971)
  • Improved hygiene of chain! (#​943)
  • Improved into_group_map_by documentation (#​1000)
  • Improved tree_reduce documentation (#​955)
  • Improved discoverability of merge_join_by (#​966)
  • Improved discoverability of take_while_inclusive (#​972)
  • Improved documentation of find_or_last and find_or_first (#​984)
  • Prevented exponentially large type sizes in tuple_combinations (#​945)
  • Added track_caller attr for asser_equal (#​976)
Notable Internal Changes
  • Fixed clippy lints (#​956, #​987, #​1008)
  • Addressed warnings within doctests (#​964)
  • CI: Run most tests with miri (#​961)
  • CI: Speed up "cargo-semver-checks" action (#​938)
  • Changed an instance of default_features in Cargo.toml to default-features (#​985)

v0.13.0

Compare Source

Breaking
  • Removed implementation of DoubleEndedIterator for ConsTuples (#​853)
  • Made MultiProduct fused and fixed on an empty iterator (#​835, #​834)
  • Changed iproduct! to return tuples for maxi one iterator too (#​870)
  • Changed PutBack::put_back to return the old value (#​880)
  • Removed deprecated repeat_call, Itertools::{foreach, step, map_results, fold_results} (#​878)
  • Removed TakeWhileInclusive::new (#​912)
Added
  • Added Itertools::{smallest_by, smallest_by_key, largest, largest_by, largest_by_key} (#​654, #​885)
  • Added Itertools::tail (#​899)
  • Implemented DoubleEndedIterator for ProcessResults (#​910)
  • Implemented Debug for FormatWith (#​931)
  • Added Itertools::get (#​891)
Changed
  • Deprecated Itertools::group_by (renamed chunk_by) (#​866, #​879)
  • Deprecated unfold (use std::iter::from_fn instead) (#​871)
  • Optimized GroupingMapBy (#​873, #​876)
  • Relaxed Fn bounds to FnMut in diff_with, Itertools::into_group_map_by (#​886)
  • Relaxed Debug/Clone bounds for MapInto (#​889)
  • Documented the use_alloc feature (#​887)
  • Optimized Itertools::set_from (#​888)
  • Removed badges in README.md (#​890)
  • Added "no-std" categories in Cargo.toml (#​894)
  • Fixed Itertools::k_smallest on short unfused iterators (#​900)
  • Deprecated Itertools::tree_fold1 (renamed tree_reduce) (#​895)
  • Deprecated GroupingMap::fold_first (renamed reduce) (#​902)
  • Fixed Itertools::k_smallest(0) to consume the iterator, optimized Itertools::k_smallest(1) (#​909)
  • Specialized Combinations::nth (#​914)
  • Specialized MergeBy::fold (#​920)
  • Specialized CombinationsWithReplacement::nth (#​923)
  • Specialized FlattenOk::{fold, rfold} (#​927)
  • Specialized Powerset::nth (#​924)
  • Documentation fixes (#​882, #​936)
  • Fixed assert_equal for iterators longer than i32::MAX (#​932)
  • Updated the must_use message of non-lazy KMergeBy and TupleCombinations (#​939)
Notable Internal Changes
  • Tested iterator laziness (#​792)
  • Created CONTRIBUTING.md (#​767)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [itertools](https://github.com/rust-itertools/itertools) | dependencies | minor | `0.12` → `0.15` | --- ### Release Notes <details> <summary>rust-itertools/itertools (itertools)</summary> ### [`v0.15.0`](https://github.com/rust-itertools/itertools/blob/HEAD/CHANGELOG.md#0150) [Compare Source](https://github.com/rust-itertools/itertools/compare/v0.14.0...v0.15.0) ##### Breaking - Restructure `Position` as struct instead of enum ([#&#8203;1042](https://github.com/rust-itertools/itertools/issues/1042), [#&#8203;1043](https://github.com/rust-itertools/itertools/issues/1043)) - Canonicalize `all_equal_value`'s error type ([#&#8203;1032](https://github.com/rust-itertools/itertools/issues/1032)) ##### Added - Add `*_with_hasher` adaptors ([#&#8203;1007](https://github.com/rust-itertools/itertools/issues/1007)) - Add strip\_prefix and strip\_prefix\_by methods ([#&#8203;1104](https://github.com/rust-itertools/itertools/issues/1104)) ##### Changed - Remove `Clone` bounds from `tuple_combinations` and `array_combinations`([#&#8203;1011](https://github.com/rust-itertools/itertools/issues/1011)) - `must_use` for `collect_vec` ([#&#8203;1009](https://github.com/rust-itertools/itertools/issues/1009)) - Make `izip!` temporary friendly ([#&#8203;1021](https://github.com/rust-itertools/itertools/issues/1021)) - Add `array_combinations_with_replacement` ([#&#8203;1033](https://github.com/rust-itertools/itertools/issues/1033)) - Implement `Debug` for remaining public types ([#&#8203;1038](https://github.com/rust-itertools/itertools/issues/1038)) - Specialize `ExactlyOneError::count` ([#&#8203;1046](https://github.com/rust-itertools/itertools/issues/1046)) - Implement `PeekingNext` for more types, in particular `vec::IntoIter` ([#&#8203;1059](https://github.com/rust-itertools/itertools/issues/1059), [#&#8203;1073](https://github.com/rust-itertools/itertools/issues/1073)) - Fix `PadUsing::next_back` ([#&#8203;1082](https://github.com/rust-itertools/itertools/issues/1082)) - Introduce `[circular_]array_windows`, deprecate `tuple_windows` ([#&#8203;1086](https://github.com/rust-itertools/itertools/issues/1086)) - Deprecate `tuple_combinations` (replaced by `array_combinations`) ([#&#8203;1085](https://github.com/rust-itertools/itertools/issues/1085)) ##### Notable Internal Changes - Make `into_group_map` code more idiomatic ([#&#8203;1027](https://github.com/rust-itertools/itertools/issues/1027)) - Fix clippy lints ([#&#8203;1017](https://github.com/rust-itertools/itertools/issues/1017), [#&#8203;1029](https://github.com/rust-itertools/itertools/issues/1029), [#&#8203;1076](https://github.com/rust-itertools/itertools/issues/1076), [#&#8203;1099](https://github.com/rust-itertools/itertools/issues/1099)) ### [`v0.14.0`](https://github.com/rust-itertools/itertools/blob/HEAD/CHANGELOG.md#0140) [Compare Source](https://github.com/rust-itertools/itertools/compare/v0.13.0...v0.14.0) ##### Breaking - Increased MSRV to 1.63.0 ([#&#8203;960](https://github.com/rust-itertools/itertools/issues/960)) - Removed generic parameter from `cons_tuples` ([#&#8203;988](https://github.com/rust-itertools/itertools/issues/988)) ##### Added - Added `array_combinations` ([#&#8203;991](https://github.com/rust-itertools/itertools/issues/991)) - Added `k_smallest_relaxed` and variants ([#&#8203;925](https://github.com/rust-itertools/itertools/issues/925)) - Added `next_array` and `collect_array` ([#&#8203;560](https://github.com/rust-itertools/itertools/issues/560)) - Implemented `DoubleEndedIterator` for `FilterOk` ([#&#8203;948](https://github.com/rust-itertools/itertools/issues/948)) - Implemented `DoubleEndedIterator` for `FilterMapOk` ([#&#8203;950](https://github.com/rust-itertools/itertools/issues/950)) ##### Changed - Allow `Q: ?Sized` in `Itertools::contains` ([#&#8203;971](https://github.com/rust-itertools/itertools/issues/971)) - Improved hygiene of `chain!` ([#&#8203;943](https://github.com/rust-itertools/itertools/issues/943)) - Improved `into_group_map_by` documentation ([#&#8203;1000](https://github.com/rust-itertools/itertools/issues/1000)) - Improved `tree_reduce` documentation ([#&#8203;955](https://github.com/rust-itertools/itertools/issues/955)) - Improved discoverability of `merge_join_by` ([#&#8203;966](https://github.com/rust-itertools/itertools/issues/966)) - Improved discoverability of `take_while_inclusive` ([#&#8203;972](https://github.com/rust-itertools/itertools/issues/972)) - Improved documentation of `find_or_last` and `find_or_first` ([#&#8203;984](https://github.com/rust-itertools/itertools/issues/984)) - Prevented exponentially large type sizes in `tuple_combinations` ([#&#8203;945](https://github.com/rust-itertools/itertools/issues/945)) - Added `track_caller` attr for `asser_equal` ([#&#8203;976](https://github.com/rust-itertools/itertools/issues/976)) ##### Notable Internal Changes - Fixed clippy lints ([#&#8203;956](https://github.com/rust-itertools/itertools/issues/956), [#&#8203;987](https://github.com/rust-itertools/itertools/issues/987), [#&#8203;1008](https://github.com/rust-itertools/itertools/issues/1008)) - Addressed warnings within doctests ([#&#8203;964](https://github.com/rust-itertools/itertools/issues/964)) - CI: Run most tests with miri ([#&#8203;961](https://github.com/rust-itertools/itertools/issues/961)) - CI: Speed up "cargo-semver-checks" action ([#&#8203;938](https://github.com/rust-itertools/itertools/issues/938)) - Changed an instance of `default_features` in `Cargo.toml` to `default-features` ([#&#8203;985](https://github.com/rust-itertools/itertools/issues/985)) ### [`v0.13.0`](https://github.com/rust-itertools/itertools/blob/HEAD/CHANGELOG.md#0130) [Compare Source](https://github.com/rust-itertools/itertools/compare/v0.12.1...v0.13.0) ##### Breaking - Removed implementation of `DoubleEndedIterator` for `ConsTuples` ([#&#8203;853](https://github.com/rust-itertools/itertools/issues/853)) - Made `MultiProduct` fused and fixed on an empty iterator ([#&#8203;835](https://github.com/rust-itertools/itertools/issues/835), [#&#8203;834](https://github.com/rust-itertools/itertools/issues/834)) - Changed `iproduct!` to return tuples for maxi one iterator too ([#&#8203;870](https://github.com/rust-itertools/itertools/issues/870)) - Changed `PutBack::put_back` to return the old value ([#&#8203;880](https://github.com/rust-itertools/itertools/issues/880)) - Removed deprecated `repeat_call, Itertools::{foreach, step, map_results, fold_results}` ([#&#8203;878](https://github.com/rust-itertools/itertools/issues/878)) - Removed `TakeWhileInclusive::new` ([#&#8203;912](https://github.com/rust-itertools/itertools/issues/912)) ##### Added - Added `Itertools::{smallest_by, smallest_by_key, largest, largest_by, largest_by_key}` ([#&#8203;654](https://github.com/rust-itertools/itertools/issues/654), [#&#8203;885](https://github.com/rust-itertools/itertools/issues/885)) - Added `Itertools::tail` ([#&#8203;899](https://github.com/rust-itertools/itertools/issues/899)) - Implemented `DoubleEndedIterator` for `ProcessResults` ([#&#8203;910](https://github.com/rust-itertools/itertools/issues/910)) - Implemented `Debug` for `FormatWith` ([#&#8203;931](https://github.com/rust-itertools/itertools/issues/931)) - Added `Itertools::get` ([#&#8203;891](https://github.com/rust-itertools/itertools/issues/891)) ##### Changed - Deprecated `Itertools::group_by` (renamed `chunk_by`) ([#&#8203;866](https://github.com/rust-itertools/itertools/issues/866), [#&#8203;879](https://github.com/rust-itertools/itertools/issues/879)) - Deprecated `unfold` (use `std::iter::from_fn` instead) ([#&#8203;871](https://github.com/rust-itertools/itertools/issues/871)) - Optimized `GroupingMapBy` ([#&#8203;873](https://github.com/rust-itertools/itertools/issues/873), [#&#8203;876](https://github.com/rust-itertools/itertools/issues/876)) - Relaxed `Fn` bounds to `FnMut` in `diff_with, Itertools::into_group_map_by` ([#&#8203;886](https://github.com/rust-itertools/itertools/issues/886)) - Relaxed `Debug/Clone` bounds for `MapInto` ([#&#8203;889](https://github.com/rust-itertools/itertools/issues/889)) - Documented the `use_alloc` feature ([#&#8203;887](https://github.com/rust-itertools/itertools/issues/887)) - Optimized `Itertools::set_from` ([#&#8203;888](https://github.com/rust-itertools/itertools/issues/888)) - Removed badges in `README.md` ([#&#8203;890](https://github.com/rust-itertools/itertools/issues/890)) - Added "no-std" categories in `Cargo.toml` ([#&#8203;894](https://github.com/rust-itertools/itertools/issues/894)) - Fixed `Itertools::k_smallest` on short unfused iterators ([#&#8203;900](https://github.com/rust-itertools/itertools/issues/900)) - Deprecated `Itertools::tree_fold1` (renamed `tree_reduce`) ([#&#8203;895](https://github.com/rust-itertools/itertools/issues/895)) - Deprecated `GroupingMap::fold_first` (renamed `reduce`) ([#&#8203;902](https://github.com/rust-itertools/itertools/issues/902)) - Fixed `Itertools::k_smallest(0)` to consume the iterator, optimized `Itertools::k_smallest(1)` ([#&#8203;909](https://github.com/rust-itertools/itertools/issues/909)) - Specialized `Combinations::nth` ([#&#8203;914](https://github.com/rust-itertools/itertools/issues/914)) - Specialized `MergeBy::fold` ([#&#8203;920](https://github.com/rust-itertools/itertools/issues/920)) - Specialized `CombinationsWithReplacement::nth` ([#&#8203;923](https://github.com/rust-itertools/itertools/issues/923)) - Specialized `FlattenOk::{fold, rfold}` ([#&#8203;927](https://github.com/rust-itertools/itertools/issues/927)) - Specialized `Powerset::nth` ([#&#8203;924](https://github.com/rust-itertools/itertools/issues/924)) - Documentation fixes ([#&#8203;882](https://github.com/rust-itertools/itertools/issues/882), [#&#8203;936](https://github.com/rust-itertools/itertools/issues/936)) - Fixed `assert_equal` for iterators longer than `i32::MAX` ([#&#8203;932](https://github.com/rust-itertools/itertools/issues/932)) - Updated the `must_use` message of non-lazy `KMergeBy` and `TupleCombinations` ([#&#8203;939](https://github.com/rust-itertools/itertools/issues/939)) ##### Notable Internal Changes - Tested iterator laziness ([#&#8203;792](https://github.com/rust-itertools/itertools/issues/792)) - Created `CONTRIBUTING.md` ([#&#8203;767](https://github.com/rust-itertools/itertools/issues/767)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Update Rust crate itertools to 0.15
Some checks failed
renovate/artifacts Artifact file update failure
Check / check (push) Successful in 6m13s
Check / check (pull_request) Successful in 6m12s
083efffeb7
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path examples/game_of_life/Cargo.toml --workspace
error: failed to parse manifest at `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/examples/game_of_life/Cargo.toml`

Caused by:
  error inheriting `iced` from workspace root manifest's `workspace.dependencies.iced`

Caused by:
  failed searching for potential workspace
  package manifest: `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/examples/game_of_life/Cargo.toml`
  invalid potential workspace manifest: `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/Cargo.toml`

  help: to avoid searching for a non-existent workspace, add `[workspace]` to the package manifest

Caused by:
  failed to parse manifest at `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/Cargo.toml`

Caused by:
  error inheriting `edition` from workspace root manifest's `workspace.package.edition`

Caused by:
  failed to find a workspace root

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path examples/game_of_life/Cargo.toml --workspace error: failed to parse manifest at `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/examples/game_of_life/Cargo.toml` Caused by: error inheriting `iced` from workspace root manifest's `workspace.dependencies.iced` Caused by: failed searching for potential workspace package manifest: `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/examples/game_of_life/Cargo.toml` invalid potential workspace manifest: `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/Cargo.toml` help: to avoid searching for a non-existent workspace, add `[workspace]` to the package manifest Caused by: failed to parse manifest at `/tmp/renovate/repos/forgejo/SakulFlee/Orbital-Iced/Cargo.toml` Caused by: error inheriting `edition` from workspace root manifest's `workspace.package.edition` Caused by: failed to find a workspace root ```
Some checks failed
renovate/artifacts Artifact file update failure
Check / check (push) Successful in 6m13s
Check / check (pull_request) Successful in 6m12s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/itertools-0.x:renovate/itertools-0.x
git switch renovate/itertools-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/itertools-0.x
git switch renovate/itertools-0.x
git rebase master
git switch master
git merge --ff-only renovate/itertools-0.x
git switch renovate/itertools-0.x
git rebase master
git switch master
git merge --no-ff renovate/itertools-0.x
git switch master
git merge --squash renovate/itertools-0.x
git switch master
git merge --ff-only renovate/itertools-0.x
git switch master
git merge renovate/itertools-0.x
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SakulFlee/Orbital-Iced!6
No description provided.