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

#783 in Data structures

Download history 856/week @ 2024-06-18 613/week @ 2024-06-25 352/week @ 2024-07-02 816/week @ 2024-07-09 1159/week @ 2024-07-16 1001/week @ 2024-07-23 929/week @ 2024-07-30 717/week @ 2024-08-06 570/week @ 2024-08-13 597/week @ 2024-08-20 876/week @ 2024-08-27 488/week @ 2024-09-03 294/week @ 2024-09-10 435/week @ 2024-09-17 487/week @ 2024-09-24 738/week @ 2024-10-01

2,072 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