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

#792 in Data structures

Download history 1055/week @ 2024-10-07 460/week @ 2024-10-14 1211/week @ 2024-10-21 788/week @ 2024-10-28 588/week @ 2024-11-04 1262/week @ 2024-11-11 1102/week @ 2024-11-18 779/week @ 2024-11-25 870/week @ 2024-12-02 727/week @ 2024-12-09 694/week @ 2024-12-16 239/week @ 2024-12-23 342/week @ 2024-12-30 355/week @ 2025-01-06 1083/week @ 2025-01-13 1265/week @ 2025-01-20

3,049 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