2 releases (1 stable)

Uses old Rust 2015

1.0.0 Dec 21, 2024
0.2.0 Dec 21, 2024

#814 in Data structures

Download history 132/week @ 2024-12-15 74/week @ 2024-12-22 1/week @ 2024-12-29 2/week @ 2025-01-05

209 downloads per month

GPL-3.0 license

18KB
253 lines

Modern Multiset Crates.io Docs

A multiset is an unordered collection of values.

Unlike sets where each value is either included or not, multisets permit duplicates. Consequently, they're useful for maintaining a count of distinct values.

See the documentation of HashMultiSet for examples.

License

Licensed under GPL version 3.

The original version of this code was published by jmitchell under both the MIT license and the Apache License version 2.0.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, is provided to the crate author under the terms of the MIT license. The crate author integrates them into the code, providing the result to you and anyone else under the GPLv3 license.

Dependencies

~160KB