#![feature(try_trait)]
#![feature(never_type)]
#![feature(checked_duration_since)]
#![warn(unused_extern_crates)]
extern crate backtrace;
extern crate base64;
extern crate chrono;
extern crate futures;
#[macro_use]
extern crate lazy_static;
extern crate multihash;
extern crate serde;
#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate serde_derive;
extern crate snowflake;
#[macro_use]
extern crate holochain_json_derive;
extern crate holochain_json_api;
extern crate holochain_locksmith;
extern crate holochain_persistence_api;
extern crate lib3h_crypto_api;
extern crate regex;
#[cfg(test)]
#[macro_use]
extern crate maplit;
extern crate hcid;
extern crate wasmi;
#[macro_use]
extern crate log;
pub mod chain_header;
pub mod crud_status;
pub mod eav;
pub mod entry;
pub mod error;
#[macro_use]
extern crate objekt;
pub mod agent;
pub mod bits_n_pieces;
pub mod chain_migrate;
pub mod dna;
pub mod hdk_version;
pub mod link;
pub mod network;
pub mod signature;
pub mod time;
pub mod ugly;
pub mod validation;
#[macro_use]
extern crate holochain_logging;
pub const GIT_HASH: &str = env!(
"GIT_HASH",
"failed to obtain git hash from build environment. Check build.rs"
);
#[cfg(feature = "broken-tests")]
#[cfg(test)]
mod test_hash {
use super::*;
#[test]
fn test_hash() {
assert_eq!(GIT_HASH.chars().count(), 40);
assert!(
GIT_HASH.is_ascii(),
"GIT HASH contains non-ascii characters"
);
}
}