sorted-list 0.2.0

Simple SortedList data structure which allows mapping an Ord key to multiple distinct PartialEq values
Documentation
  • Coverage
  • 100%
    13 out of 13 items documented1 out of 12 items with examples
  • Size
  • Source code size: 27.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.07 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • koivunej/sorted-list
    4 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • koivunej

SortedList

Build Status Docs

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.