Skip to content

Upgrading itertools 0.10 to 0.11

Breaking0.10.5 → 0.11.0Breaking3New6Changed2Other4

BreakingUpgrade verdict

3 breaking changes.

  • The merge_join_by method now also works with a comparison function that returns true or false.
  • Implements `PeekingNext` transitively over mutable references.
  • Code that used with_position now gets a tuple of the position and the item instead of a single Position value.
3 items need code or config changes

Requires Rust 1.36.0 from 0.11.0 (none stated before).

Installs 82 packages in all (was 58).

Breaking3
Makes Itertools::merge_join_by also accept functions returning bool.
Itertools::merge_join_by
Implements PeekingNext transitively over mutable references.
PeekingNext
Changes with_position to yield (Position, Item) instead of Position<Item>.
with_positionPosition