[][src]Crate chesterfield

An ergonomic, strongly typed CouchDB client in Rust.

This library includes both synchronous and asynchronous APIs for the programmer who wants to have it all.

Couldn't find a decent, maintained CouchDB client in Rust. Also I wanted async. So i rolled my own.

This is still in active development, in the sense that I add things when I need them, and fix bugs when they affect me directly.

Until this gets slightly closer to stable the updates to the release on Crates.io will be a lot more sporadic than the github updates.

Would be thrilled to have a couple more sets of eyes and keyboards chipping away at this. climb aboard.

Modules

sync

The sync module contains all the types which are specific to the synchronous (blocking) API.

Structs

Client

An asynchronous CouchDB client

Database

Interface for interacting with a specific CouchDB database within a CouchDB node.

GetRequest

A request to retrieve a document from a CouchDB database.

GetResponse

A response from a GetRequest.

InsertRequest

A Request to insert a document into the database

InsertResponse

Reponse from the CouchDB database after inserting a document

UpdateRequest

A request to update an existing document.

Url

A parsed URL record.

Enums

Error

A catch-all error type for everything that can (and does, currently) go wrong with this library

UrlError

Errors that can occur during parsing.