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

#381 in Data structures

Download history 511/week @ 2023-12-15 132/week @ 2023-12-22 258/week @ 2023-12-29 651/week @ 2024-01-05 461/week @ 2024-01-12 1207/week @ 2024-01-19 812/week @ 2024-01-26 696/week @ 2024-02-02 899/week @ 2024-02-09 1246/week @ 2024-02-16 495/week @ 2024-02-23 175/week @ 2024-03-01 466/week @ 2024-03-08 407/week @ 2024-03-15 383/week @ 2024-03-22 268/week @ 2024-03-29

1,535 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