Crates.io | sofa |
lib.rs | sofa |
version | 0.6.0 |
source | src |
created_at | 2018-06-27 06:36:20.214687 |
updated_at | 2018-08-23 16:47:25.75593 |
description | Sofa - CouchDB for Rust |
homepage | https://github.com/YellowInnovation/sofa |
repository | https://github.com/YellowInnovation/sofa |
max_upload_size | |
id | 71900 |
size | 38,160 |
Here: http://docs.rs/sofa
[dependencies]
sofa = "0.6"
This crate is an interface to CouchDB HTTP REST API. Works with stable Rust.
Does not support #![no_std]
After trying most crates for CouchDB in Rust (chill
, couchdb
in particular), none of them fit our needs hence the need to create our own.
No async I/O (yet), uses a mix of Reqwest and Serde under the hood, with a few nice abstractions out there.
NOT 1.0 YET, so expect changes
Supports CouchDB 2.0 and up.
Be sure to check CouchDB's Documentation in detail to see what's possible.
Make sure that you have an instance of CouchDB 2.0+ running, either via the supplied docker-compose.yml
file or by yourself. It must be listening on the default port.
And then
cargo test -- --test-threads=1
Single-threading the tests is very important because we need to make sure that the basic features are working before actually testing features on dbs/documents.
CouchDB has a nice name, and I wanted to reflect that.
Licensed under either of these:
Yellow Innovation is the innovation laboratory of the French postal service: La Poste.
We create innovative user experiences and journeys through services with a focus on IoT lately.