analyticord 0.1.2

Simple wrapper around the Analyticord API.
Documentation
#![deny(missing_docs, missing_debug_implementations, trivial_casts, trivial_numeric_casts,
       unsafe_code, unstable_features, unused_import_braces, unused_qualifications)]
/*!
    This crate allows you to interact with the Analyticord backend.

    # Example

    ```
    use analyticord::client::Client;
    use analyticord::events::Messages;

    let client = Client::default("YOUR_TOKEN".into());
    if client.is_err() {
        print!("{}", "borked token, try again.");
        std::process::exit(0);
    }
    let res = client.unwrap().send_event(Messages { amount: 10 });
    match res {
        Ok(data)    => print!("Successfully submitted. ID: {}", data.id),
        Err(error)  => print!("Error: {:?}", error),
    }
    ```
*/

extern crate reqwest;
extern crate serde;
extern crate serde_json;
#[macro_use]
extern crate serde_derive;
extern crate hyper;
#[macro_use]
extern crate derive_error;

/// Module containing all the weird events.
pub mod events;
/// Module containing the custom error struct.
pub mod error;
/// Module containing the Client struct.
pub mod client;
/// Module containing the custom data struct.
pub mod data;