2 unstable releases
Uses old Rust 2015
0.2.0 | Mar 29, 2017 |
---|---|
0.1.0 | Mar 29, 2017 |
#2279 in Data structures
278 downloads per month
27KB
659 lines
SortedList
Data structure similar to SortedList found in .NET for rust.
Naive implementation based on Vec<K>
and Vec<V>
.
Same key can be mapped to multiple values, and the values are stored in insertion order.
Unsupported:
- deletion
range queries(requires feature = "nightly" and a nightly compiler)
Cargo.toml
[dependencies]
sorted-list = "0.1"
or:
[dependencies]
sorted-list = { git = "https://github.com/koivunej/sorted-list.git" }
License
MIT.
lib.rs
:
Simple sorted list collection like the one found in the .NET collections library.