Mango Smoothie Build Status

A CouchDB Mango/Cloudant query client for rust. It supports creating indexes, listing indexes and querying indexes

For (docs)[https://docs.rs/mango_smoothie/]

```

[macro_use]

extern crate mangosmoothie; use mangosmoothie::{database};

let queryresp = db.queryindex(query!({ "selector" => { "diet" => { "$eq" => "omnivore" } }, "fields" => ["id", "rev", "name", "class", "diet"] }));

let result = queryresp.unwrap(); let doc = &result.docs[0]; asserteq!(doc.get("class").unwrap().as_str().unwrap(), "mammal"); ```

License

Mango Smoothie is licensed under MIT. See the LICENSE file for more