Skip to content

Commit

Permalink
Auto merge of #13086 - rust-lang:renovate/itertools-0.x, r=weihanglo
Browse files Browse the repository at this point in the history
chore(deps): update rust crate itertools to 0.12.0

[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [itertools](https://github.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://github.com/rust-itertools/itertools/blob/HEAD/CHANGELOG.md#0120)

[Compare Source](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0)

##### Breaking

-   Made `take_while_inclusive` consume iterator by value ([#&#8203;709](https://github.com/rust-itertools/itertools/issues/709))
-   Added `Clone` bound to `Unique` ([#&#8203;777](https://github.com/rust-itertools/itertools/issues/777))

##### Added

-   Added `Itertools::try_len` ([#&#8203;723](https://github.com/rust-itertools/itertools/issues/723))
-   Added free function `sort_unstable` ([#&#8203;796](https://github.com/rust-itertools/itertools/issues/796))
-   Added `GroupMap::fold_with` ([#&#8203;778](https://github.com/rust-itertools/itertools/issues/778), [#&#8203;785](https://github.com/rust-itertools/itertools/issues/785))
-   Added `PeekNth::{peek_mut, peek_nth_mut}` ([#&#8203;716](https://github.com/rust-itertools/itertools/issues/716))
-   Added `PeekNth::{next_if, next_if_eq}` ([#&#8203;734](https://github.com/rust-itertools/itertools/issues/734))
-   Added conversion into `(Option<A>,Option<B>)` to `EitherOrBoth` ([#&#8203;713](https://github.com/rust-itertools/itertools/issues/713))
-   Added conversion from `Either<A, B>` to `EitherOrBoth<A, B>` ([#&#8203;715](https://github.com/rust-itertools/itertools/issues/715))
-   Implemented `ExactSizeIterator` for `Tuples` ([#&#8203;761](https://github.com/rust-itertools/itertools/issues/761))
-   Implemented `ExactSizeIterator` for `(Circular)TupleWindows` ([#&#8203;752](https://github.com/rust-itertools/itertools/issues/752))
-   Made `EitherOrBoth<T>` a shorthand for `EitherOrBoth<T, T>` ([#&#8203;719](https://github.com/rust-itertools/itertools/issues/719))

##### Changed

-   Added missing `#[must_use]` annotations on iterator adaptors ([#&#8203;794](https://github.com/rust-itertools/itertools/issues/794))
-   Made `Combinations` lazy ([#&#8203;795](https://github.com/rust-itertools/itertools/issues/795))
-   Made `Intersperse(With)` lazy ([#&#8203;797](https://github.com/rust-itertools/itertools/issues/797))
-   Made `Permutations` lazy ([#&#8203;793](https://github.com/rust-itertools/itertools/issues/793))
-   Made `Product` lazy ([#&#8203;800](https://github.com/rust-itertools/itertools/issues/800))
-   Made `TupleWindows` lazy ([#&#8203;602](https://github.com/rust-itertools/itertools/issues/602))
-   Specialized `Combinations::{count, size_hint}` ([#&#8203;729](https://github.com/rust-itertools/itertools/issues/729))
-   Specialized `CombinationsWithReplacement::{count, size_hint}` ([#&#8203;737](https://github.com/rust-itertools/itertools/issues/737))
-   Specialized `Powerset::fold` ([#&#8203;765](https://github.com/rust-itertools/itertools/issues/765))
-   Specialized `Powerset::count` ([#&#8203;735](https://github.com/rust-itertools/itertools/issues/735))
-   Specialized `TupleCombinations::{count, size_hint}` ([#&#8203;763](https://github.com/rust-itertools/itertools/issues/763))
-   Specialized `TupleCombinations::fold` ([#&#8203;775](https://github.com/rust-itertools/itertools/issues/775))
-   Specialized `WhileSome::fold` ([#&#8203;780](https://github.com/rust-itertools/itertools/issues/780))
-   Specialized `WithPosition::fold` ([#&#8203;772](https://github.com/rust-itertools/itertools/issues/772))
-   Specialized `ZipLongest::fold` ([#&#8203;774](https://github.com/rust-itertools/itertools/issues/774))
-   Changed `{min, max}_set*` operations require `alloc` feature, instead of `std` ([#&#8203;760](https://github.com/rust-itertools/itertools/issues/760))
-   Improved documentation of `tree_fold1` ([#&#8203;787](https://github.com/rust-itertools/itertools/issues/787))
-   Improved documentation of `permutations` ([#&#8203;724](https://github.com/rust-itertools/itertools/issues/724))
-   Fixed typo in documentation of `multiunzip` ([#&#8203;770](https://github.com/rust-itertools/itertools/issues/770))

##### Notable Internal Changes

-   Improved specialization tests ([#&#8203;799](https://github.com/rust-itertools/itertools/issues/799), [#&#8203;786](https://github.com/rust-itertools/itertools/issues/786), [#&#8203;782](https://github.com/rust-itertools/itertools/issues/782))
-   Simplified implementation of `Permutations` ([#&#8203;739](https://github.com/rust-itertools/itertools/issues/739), [#&#8203;748](https://github.com/rust-itertools/itertools/issues/748), [#&#8203;790](https://github.com/rust-itertools/itertools/issues/790))
-   Combined `Merge`/`MergeBy`/`MergeJoinBy` implementations ([#&#8203;736](https://github.com/rust-itertools/itertools/issues/736))
-   Simplified `Permutations::size_hint` ([#&#8203;739](https://github.com/rust-itertools/itertools/issues/739))
-   Fix wrapping arithmetic in benchmarks ([#&#8203;770](https://github.com/rust-itertools/itertools/issues/770))
-   Enforced `rustfmt` in CI ([#&#8203;751](https://github.com/rust-itertools/itertools/issues/751))
-   Disallowed compile warnings in CI ([#&#8203;720](https://github.com/rust-itertools/itertools/issues/720))
-   Used `cargo hack` to check MSRV ([#&#8203;754](https://github.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-->
  • Loading branch information
bors committed Dec 1, 2023
2 parents dd5e47a + 48e3d6c commit e9ba4fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ humantime = "2.1.0"
ignore = "0.4.20"
im-rc = "15.1.0"
indexmap = "2"
itertools = "0.11.0"
itertools = "0.12.0"
jobserver = "0.1.27"
lazycell = "1.3.0"
libc = "0.2.149"
Expand Down

0 comments on commit e9ba4fe

Please sign in to comment.