diff options
Diffstat (limited to 'lib/entry/libimagentryref/src/lib.rs')
-rw-r--r-- | lib/entry/libimagentryref/src/lib.rs | 38 |
1 files changed, 7 insertions, 31 deletions
diff --git a/lib/entry/libimagentryref/src/lib.rs b/lib/entry/libimagentryref/src/lib.rs index da9bda3d..4d8e02e8 100644 --- a/lib/entry/libimagentryref/src/lib.rs +++ b/lib/entry/libimagentryref/src/lib.rs @@ -41,41 +41,17 @@ extern crate itertools; extern crate toml; extern crate toml_query; +#[macro_use] extern crate serde_derive; +extern crate sha1; -#[macro_use] extern crate libimagstore; +extern crate libimagstore; extern crate libimagerror; #[macro_use] extern crate libimagentryutil; -extern crate failure; +#[macro_use] extern crate failure; -module_entry_path_mod!("ref"); +#[cfg(test)] +extern crate env_logger; +pub mod hasher; pub mod reference; -pub mod refstore; - -#[cfg(feature = "generators-sha1")] -extern crate sha1; - -#[cfg(any( - feature = "generators-sha224", - feature = "generators-sha256", - feature = "generators-sha384", - feature = "generators-sha512", -))] -extern crate sha2; - -#[cfg(feature = "generators-sha3")] -extern crate sha3; - -#[cfg(any( - feature = "generators-sha1", - feature = "generators-sha224", - feature = "generators-sha256", - feature = "generators-sha384", - feature = "generators-sha512", - feature = "generators-sha3", -))] -extern crate hex; - -#[cfg(feature = "generators")] -pub mod generators; |