Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lonnen/mset
a multiset implementation for rust
https://github.com/lonnen/mset
Last synced: about 1 month 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 (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-02T09:08:45.000Z (9 months ago)
- Last Synced: 2024-10-07T08:47:27.281Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 141 KB
- Stars: 3
- Watchers: 3
- 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
[![CI status](https://github.com/lonnen/mset/actions/workflows/rust.yml/badge.svg)](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.