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
//! Simple access to Amazon Web Service's (AWS) Simple Storage Service (S3)
extern crate chrono;
extern crate curl;
#[macro_use]
extern crate error_chain;
extern crate hex;
extern crate hmac;
#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate serde_xml_rs as serde_xml;
extern crate sha2;
extern crate url;


pub mod bucket;
pub mod credentials;
pub mod command;
pub mod error;
pub mod region;
pub mod request;
pub mod serde_types;
pub mod signing;

const LONG_DATE: &'static str = "%Y%m%dT%H%M%SZ";
const EMPTY_PAYLOAD_SHA: &'static str = "e3b0c44298fc1c149afbf4c8996fb924\
                                         27ae41e4649b934ca495991b7852b855";