Releases: coriolinus/counter-rs
Releases · coriolinus/counter-rs
v0.7.1 - 2026-03-25
What's Changed
- chore: upgrade dependencies by @coriolinus in #52
- fix: error[E0277]: the trait bound St: BuildHasher is not satisfied by @krzemyczek in #56
New Contributors
- @krzemyczek made their first contribution in #56
Full Changelog: v0.7.0...v0.7.1
v0.7.0 - custom hashers
What's Changed
- Add support for custom hashers by @mjclarke94 in #51
New Contributors
- @mjclarke94 made their first contribution in #51
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- update edition, add
counterkeyword by @chris-ha458 in #34 - refactor tests and impls into distinct modules by @chris-ha458 in #36
- small doc formatting by @chris-ha458 in #38
- deprecate
initmethod by @coriolinus in #41 - do not use deprecated
initmethod by @coriolinus in #42 - With capacity by @chris-ha458 in #40
- Clippy fixes by @chris-ha458 in #43
- Implement Serialize and Deserialize by @matthewmcintire-savantx in #46
New Contributors
- @chris-ha458 made their first contribution in #34
- @matthewmcintire-savantx made their first contribution in #46
Full Changelog: v0.5.7...v0.5.8
v0.5.7: Counters are Multisets
What's Changed
- Implement is_subset and is_superset tests by @mjpieters in #27
- Implement bitwise and and or assignments by @mjpieters in #28
- Fix spelling error in doc header by @mjpieters in #29
- Multiset bag documentation by @coriolinus in #31
New Contributors
- @mjpieters made their first contribution in #27
Full Changelog: v0.5.6...v0.5.7
v0.5.6: `k_most_common_items` and more relaxed trait bounds
What's Changed
- Relax more trait bounds by @clint-white in #22
- Improve concision by @clint-white in #23
- Fix minor issues in documentation by @clint-white in #24
- Add method to return the
kmost common items and speed upmost_common_*()methods by @clint-white in #25
Full Changelog: v0.5.5...v0.5.6
v0.5.5: Relax trait bounds, add `.total()` method
What's Changed
- Add method
Counter::total()by @clint-white in #20 - Relax trait bounds by @clint-white in #21
New Contributors
- @clint-white made their first contribution in #20
Full Changelog: v0.5.4...v0.5.5
v0.5.4: Relax trait bounds for `Default`
more iterators and relax trait bounds
What's Changed
- Added implementations for IntoIter and IterMut by @TinBryn in #16
- <N: Clone> bound is not required on {Add,Sub}{,Assign} by @samueltardieu in #17
- Cleanup redundant references by @samueltardieu in #18
New Contributors
- @TinBryn made their first contribution in #16
- @samueltardieu made their first contribution in #17
Full Changelog: v0.5.2...v0.5.3
impl Extend, IntoIterator for Counter
Implementing these traits gives users more ways to usefully combine their counts.
Remove unnecessary cloning
This release removes self-cloning from the Add, Sub, and BitOr impls.
This also fixes a number of other clippy, minor clippy lints.