curl_easybuilder/lib.rs
1//! Simple builder for curl-rust Easy API.
2//!
3//! The struct helps to create and initialize an `Easy` handle with
4//! major curl options, or to set some callback operations.
5
6extern crate curl;
7#[macro_use]
8extern crate error_chain;
9
10pub mod errors {
11 error_chain! {
12 types {
13 BuildError, ErrorKind, ResultExt, BuildResult;
14 }
15 foreign_links {
16 Curl(::curl::Error);
17 }
18 }
19}
20
21mod easy;
22
23pub use easy::EasyBuilder;