conshash
A library to do consistent hashing in Rust.
Crate
Get the crate at conshash
Example
extern crate conshash;
let mut hash_ring = new;
let test_node = TestNode;
hash_ring.add_node;
hash_ring.remove_node;
hash_ring.add_node;
let x = hash_ring.get_node;
// x is the node in the form of an Option<T> where T: Clone + ToString + Debug