1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
extern crate base64;
extern crate hyper;
#[macro_use(mime, __mime__ident_or_ext)]
extern crate mime;
extern crate regex;
extern crate serde;
extern crate serde_json;
extern crate tempdir;
extern crate url;
extern crate uuid;

#[cfg(test)]
#[macro_use]
mod test_macro;

mod attachment;
mod client;
mod design;
mod document;
mod error;
mod revision;
mod transport;
mod view;

pub mod action;
pub mod path;
pub mod testing;

pub use attachment::{Attachment, SavedAttachment, UnsavedAttachment};
pub use client::{Client, IntoUrl};
pub use design::{Design, DesignBuilder, ViewFunction};
pub use document::Document;
pub use error::{Error, ErrorResponse};
pub use path::{AttachmentName, AttachmentPath, DatabaseName, DatabasePath, DesignDocumentName, DesignDocumentPath,
               DocumentId, DocumentPath, IntoAttachmentPath, IntoDatabasePath, IntoDesignDocumentPath,
               IntoDocumentPath, IntoViewPath, LocalDocumentName, NormalDocumentName, ViewName, ViewPath};
pub use revision::Revision;
pub use view::{ViewResponse, ViewRow};