2 unstable releases

Uses old Rust 2015

0.2.0 Oct 2, 2018
0.1.0 Sep 28, 2018

#21 in #tree-search


Used in sled-web

MIT/Apache

6KB
68 lines

sled-search Build Status Crates.io Crates.io docs.rs

Utility functions for searching a sled::Tree.

Includes:

  • search - allows for searching the sled::Tree key space using a guiding function.
  • max - finds the greatest entry in the sled::Tree (uses search internally).
  • pred - finds the greatest key preceding the given key (uses search internally).
  • pred_incl - a version of the pred fn that is inclusive of the given key.

Dependencies

~1.9–2.5MB
~51K SLoC