https://github.com/lonnen/mset
a multiset implementation for rust
https://github.com/lonnen/mset
Last synced: 3 months ago
JSON representation
a multiset implementation for rust
- Host: GitHub
- URL: https://github.com/lonnen/mset
- Owner: lonnen
- License: other
- Created: 2020-01-06T10:15:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-03T07:00:19.000Z (3 months ago)
- Last Synced: 2025-04-03T07:36:29.668Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 141 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# mset
This crate provides a [multiset](https://en.wikipedia.org/wiki/Multiset) implementation for rust.
## Overview
[](https://github.com/lonnen/mset/actions/workflows/rust.yml)
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.
* [Documentation](https://docs.rs/mset/0.0.1/mset/struct.MultiSet.html)
* [Release Notes](https://github.com/lonnen/mset/releases)## Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
mset = "0.1.1"
```Now, you can use mset:
```rust
extern crate mset;
```## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)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.