cargo / itertools
itertools
What changed in itertools 0.15, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
2 breaking2 deprecations6 new APIs and options1 performance4 behavior and defaults3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inititertools 0.1518 changes
Breaking changes 2
The error type for all_equal_value has been canonicalized, which may affect code that names or handles that type.
Position is now a struct instead of an enum, so code constructing or matching Position must adapt.
Deprecations 2
tuple_combinations is deprecated and replaced by array_combinations.
tuple_windows is deprecated in favor of array_windows.
New APIs and options 6
array_combinations_with_replacement is available for combinations with replacement.
array_windows is introduced.
circular_array_windows is introduced.
A strip_prefix method is available.
A strip_prefix_by method is available.
Adaptors with custom hashers are available.
Performance 1
ExactlyOneError::count has been specialized.
Behavior and default changes 4
array_combinations no longer requires Clone bounds.
collect_vec is now marked must_use, so ignoring its return value produces a warning.
izip! is now temporary friendly.
tuple_combinations no longer requires Clone bounds.
Fixes and other changes 3
Remaining public types now implement Debug.
The next_back behavior for PadUsing has been fixed.
PeekingNext is implemented for more types, including vec::IntoIter.