unreql 0.2.1

Well documented and easy to use RethinkDB Rust Driver
Documentation
1
2
3
4
5
6
7
// for debug purposes only
pub(crate) fn bytes_to_string(bytes: &[u8]) -> String {
    if let Ok(string) = std::str::from_utf8(bytes) {
        return string.to_owned();
    }
    format!("{:?}", bytes)
}