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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// region:    --- Modules

mod dir;
mod error;
mod file;
mod glob;
mod iter_files;
mod sfile;
mod spath;
mod watch;

#[cfg(feature = "bin-nums")]
mod bin_nums;
#[cfg(feature = "with-json")]
mod with_json;
#[cfg(feature = "with-toml")]
mod with_toml;

pub use self::error::{Error, Result};

// -- re-export all for root crate

pub use dir::*;
pub use file::*;
pub use glob::*;
pub use iter_files::*;
pub use sfile::*;
pub use spath::*;
pub use watch::*;

#[cfg(feature = "with-json")]
pub use with_json::*;

#[cfg(feature = "with-toml")]
pub use with_toml::*;

#[cfg(feature = "bin-nums")]
pub use bin_nums::*;

// endregion: --- Modules