Debian Codegraph @

debian/rust-vendor/ordered-multimap/README.md

raw
1 # ordered-multimap-rs
2
3 [![Crates.io](https://img.shields.io/crates/v/ordered-multimap.svg)](https://crates.io/crates/ordered-multimap)
4 [![Docs.rs](https://docs.rs/ordered-multimap/badge.svg)](https://docs.rs/ordered-multimap)
5 [![CI](https://github.com/sgodwincs/ordered-multimap-rs/workflows/CI/badge.svg)](https://github.com/sgodwincs/ordered-multimap-rs/actions)
6
7 Currently, this crate contains a single type `ListOrderedMultimap`. This is a multimap meaning that
8 multiple values can be associated with a given key, but it also maintains insertion order across all
9 keys and values.
10
11 [Documentation](https://docs.rs/ordered-multimap/)
12
13 ## Performance
14
15 Basic benchmarks show that the performance of this crate is on par with that of the
16 [multimap](https://crates.io/crates/multimap) crate which does not maintain insertion order.
17
18 ## Features
19
20 - `std` (default) enables usage of the standard library. Disabling this features allows this crate to be used in `no_std` environments.
21 - `serde` for (de)serialization.
22
23 ## TODO
24
25 It is planned that a corresponding `SetOrderedMultimap` will also be included in this crate which
26 will provide the same insertion order guarantees, but the set of values associated to a given key
27 will be an actual set instead of a list.
28
29 ## License
30
31 Licensed under MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT).
32
33 ## Contribution
34
35 Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you
36 shall be licensed as above, without any additional terms or conditions.
37
38 See [CONTRIBUTING.md](CONTRIBUTING.md).