Update Rust: ~[] -> Vec
Add `Hashable` trait and implement it for &[u8]
Set crate output type to `lib` to let the compiler choosing the best one.