#![cfg_attr(feature = "dev", feature(plugin))]
#![cfg_attr(feature = "dev", plugin(clippy))]
#![deny(missing_docs)]
#[macro_use]
extern crate log;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate serde_derive;
extern crate time;
extern crate byteorder;
extern crate chrono;
extern crate crypto;
extern crate futures;
extern crate glob;
extern crate jsonrpc_core;
extern crate jsonrpc_http_server;
extern crate hyper;
extern crate rand;
extern crate regex;
extern crate reqwest;
#[cfg(all(unix))]
extern crate rust_scrypt;
extern crate rustc_serialize;
extern crate secp256k1;
extern crate serde;
extern crate serde_json;
extern crate uuid;
extern crate hex;
extern crate hidapi;
mod core;
pub mod addressbook;
pub mod keystore;
pub mod contract;
pub mod storage;
pub mod rpc;
mod hdwallet;
mod util;
pub use self::core::*;
pub use self::rpc::start;
pub use self::util::*;
const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION");
pub fn version() -> &'static str {
VERSION.unwrap_or("unknown")
}
#[cfg(test)]
mod tests {
pub use super::*;
pub use hex::{FromHex, ToHex};
pub use regex::Regex;
pub use rustc_serialize::json;
}