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
extern crate sha1;

#[cfg(feature = "json")]
extern crate serde;
#[cfg(feature = "json")]
extern crate serde_json;
#[cfg(feature = "json")]
#[macro_use]
extern crate serde_derive;

mod scanner;
mod file;
mod hasher;
mod lazyfile;
mod metadata;
mod ui;
#[cfg(feature = "json")]
mod json;

pub use scanner::Scanner;
pub use scanner::RunMode;
pub use file::FileContent;
pub use ui::UI as TextUserInterface;
#[cfg(feature = "json")]
pub use json::JsonOutput as JsonOutput;