6 releases

0.1.1 Jan 12, 2023
0.1.0 Dec 30, 2021
0.0.4 Oct 30, 2020
0.0.3 May 12, 2020
0.0.2 Mar 21, 2020

#755 in Data structures

Download history 1135/week @ 2024-11-15 822/week @ 2024-11-22 924/week @ 2024-11-29 649/week @ 2024-12-06 690/week @ 2024-12-13 359/week @ 2024-12-20 345/week @ 2024-12-27 400/week @ 2025-01-03 934/week @ 2025-01-10 1333/week @ 2025-01-17 1314/week @ 2025-01-24 1631/week @ 2025-01-31 2244/week @ 2025-02-07 1193/week @ 2025-02-14 1613/week @ 2025-02-21 877/week @ 2025-02-28

6,346 downloads per month
Used in 6 crates (via zebra-state)

MIT/Apache

46KB
539 lines

mset

This crate provides a multiset implementation for rust.

Overview

CI status

A mset, multiset, or bag is a set that allows multiple occurances of an element. It supports many basic set operations, e.g. membership test, union, intersection, and difference.

Usage

Add this to your Cargo.toml:

[dependencies]
mset = "0.1.1"

Now, you can use mset:

extern crate mset;

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps