1pub mod core;
34
35#[cfg(feature = "datetime")]
36pub mod datetime;
37
38#[cfg(feature = "io")]
39pub mod io;
40
41#[cfg(any(feature = "crypto", feature = "crypto-full"))]
42pub mod crypto;
43
44#[cfg(feature = "data")]
45pub mod data;
46
47#[cfg(feature = "random")]
48pub mod random;
49
50#[cfg(feature = "network")]
51pub mod network;
52
53 pub mod system;
55
56pub use core::string_utils;
58pub use core::validation;
59
60#[cfg(feature = "datetime")]
61pub use datetime::date_utils;
62
63#[cfg(feature = "io")]
64pub use io::file_utils;
65
66#[cfg(feature = "data")]
67pub use data::json_utils;
68
69#[cfg(feature = "random")]
70pub use random::generators as random_utils;
71
72#[cfg(any(feature = "crypto", feature = "crypto-full"))]
73pub use crypto::*;
74
75pub use core::*;
77
78#[cfg(feature = "datetime")]
79pub use datetime::*;
80
81#[cfg(feature = "io")]
82pub use io::*;
83
84#[cfg(feature = "data")]
85pub use data::*;
86
87#[cfg(feature = "random")]
88pub use random::*;
89
90pub const VERSION: &str = env!("CARGO_PKG_VERSION");
92
93pub use anyhow::{Error, Result};
95
96#[cfg(test)]
97mod tests {
98 use super::*;
99
100 #[test]
101 fn test_version() {
102 assert!(!VERSION.is_empty());
103 }
104}