-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit e9ba4fe
committed
Auto merge of #13086 - rust-lang:renovate/itertools-0.x, r=weihanglo
chore(deps): update rust crate itertools to 0.12.0
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [itertools](https://togithub.com/rust-itertools/itertools) | workspace.dependencies | minor | `0.11.0` -> `0.12.0` |
---
### Release Notes
<details>
<summary>rust-itertools/itertools (itertools)</summary>
### [`v0.12.0`](https://togithub.com/rust-itertools/itertools/blob/HEAD/CHANGELOG.md#0120)
[Compare Source](https://togithub.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0)
##### Breaking
- Made `take_while_inclusive` consume iterator by value ([#​709](https://togithub.com/rust-itertools/itertools/issues/709))
- Added `Clone` bound to `Unique` ([#​777](https://togithub.com/rust-itertools/itertools/issues/777))
##### Added
- Added `Itertools::try_len` ([#​723](https://togithub.com/rust-itertools/itertools/issues/723))
- Added free function `sort_unstable` ([#​796](https://togithub.com/rust-itertools/itertools/issues/796))
- Added `GroupMap::fold_with` ([#​778](https://togithub.com/rust-itertools/itertools/issues/778), [#​785](https://togithub.com/rust-itertools/itertools/issues/785))
- Added `PeekNth::{peek_mut, peek_nth_mut}` ([#​716](https://togithub.com/rust-itertools/itertools/issues/716))
- Added `PeekNth::{next_if, next_if_eq}` ([#​734](https://togithub.com/rust-itertools/itertools/issues/734))
- Added conversion into `(Option<A>,Option<B>)` to `EitherOrBoth` ([#​713](https://togithub.com/rust-itertools/itertools/issues/713))
- Added conversion from `Either<A, B>` to `EitherOrBoth<A, B>` ([#​715](https://togithub.com/rust-itertools/itertools/issues/715))
- Implemented `ExactSizeIterator` for `Tuples` ([#​761](https://togithub.com/rust-itertools/itertools/issues/761))
- Implemented `ExactSizeIterator` for `(Circular)TupleWindows` ([#​752](https://togithub.com/rust-itertools/itertools/issues/752))
- Made `EitherOrBoth<T>` a shorthand for `EitherOrBoth<T, T>` ([#​719](https://togithub.com/rust-itertools/itertools/issues/719))
##### Changed
- Added missing `#[must_use]` annotations on iterator adaptors ([#​794](https://togithub.com/rust-itertools/itertools/issues/794))
- Made `Combinations` lazy ([#​795](https://togithub.com/rust-itertools/itertools/issues/795))
- Made `Intersperse(With)` lazy ([#​797](https://togithub.com/rust-itertools/itertools/issues/797))
- Made `Permutations` lazy ([#​793](https://togithub.com/rust-itertools/itertools/issues/793))
- Made `Product` lazy ([#​800](https://togithub.com/rust-itertools/itertools/issues/800))
- Made `TupleWindows` lazy ([#​602](https://togithub.com/rust-itertools/itertools/issues/602))
- Specialized `Combinations::{count, size_hint}` ([#​729](https://togithub.com/rust-itertools/itertools/issues/729))
- Specialized `CombinationsWithReplacement::{count, size_hint}` ([#​737](https://togithub.com/rust-itertools/itertools/issues/737))
- Specialized `Powerset::fold` ([#​765](https://togithub.com/rust-itertools/itertools/issues/765))
- Specialized `Powerset::count` ([#​735](https://togithub.com/rust-itertools/itertools/issues/735))
- Specialized `TupleCombinations::{count, size_hint}` ([#​763](https://togithub.com/rust-itertools/itertools/issues/763))
- Specialized `TupleCombinations::fold` ([#​775](https://togithub.com/rust-itertools/itertools/issues/775))
- Specialized `WhileSome::fold` ([#​780](https://togithub.com/rust-itertools/itertools/issues/780))
- Specialized `WithPosition::fold` ([#​772](https://togithub.com/rust-itertools/itertools/issues/772))
- Specialized `ZipLongest::fold` ([#​774](https://togithub.com/rust-itertools/itertools/issues/774))
- Changed `{min, max}_set*` operations require `alloc` feature, instead of `std` ([#​760](https://togithub.com/rust-itertools/itertools/issues/760))
- Improved documentation of `tree_fold1` ([#​787](https://togithub.com/rust-itertools/itertools/issues/787))
- Improved documentation of `permutations` ([#​724](https://togithub.com/rust-itertools/itertools/issues/724))
- Fixed typo in documentation of `multiunzip` ([#​770](https://togithub.com/rust-itertools/itertools/issues/770))
##### Notable Internal Changes
- Improved specialization tests ([#​799](https://togithub.com/rust-itertools/itertools/issues/799), [#​786](https://togithub.com/rust-itertools/itertools/issues/786), [#​782](https://togithub.com/rust-itertools/itertools/issues/782))
- Simplified implementation of `Permutations` ([#​739](https://togithub.com/rust-itertools/itertools/issues/739), [#​748](https://togithub.com/rust-itertools/itertools/issues/748), [#​790](https://togithub.com/rust-itertools/itertools/issues/790))
- Combined `Merge`/`MergeBy`/`MergeJoinBy` implementations ([#​736](https://togithub.com/rust-itertools/itertools/issues/736))
- Simplified `Permutations::size_hint` ([#​739](https://togithub.com/rust-itertools/itertools/issues/739))
- Fix wrapping arithmetic in benchmarks ([#​770](https://togithub.com/rust-itertools/itertools/issues/770))
- Enforced `rustfmt` in CI ([#​751](https://togithub.com/rust-itertools/itertools/issues/751))
- Disallowed compile warnings in CI ([#​720](https://togithub.com/rust-itertools/itertools/issues/720))
- Used `cargo hack` to check MSRV ([#​754](https://togithub.com/rust-itertools/itertools/issues/754))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), 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://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->2 files changed
+5
-5
lines changed+4-4Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
0 commit comments