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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// #![feature(non_ascii_idents)]

// #[macro_use]
// extern crate serde;
#[macro_use]
extern crate log;
#[macro_use]
pub mod macro_x;
pub mod arg;
mod exit_signal;
pub mod f64_util;
pub mod file;
mod i_result;
pub mod time_int;
pub mod time_micros;

pub mod log4rs_mod;

#[cfg(feature = "use_tcp")]
pub mod tcp_mod;

#[cfg(feature = "use_tcp")]
pub mod tcp_mod2;

#[cfg(feature = "use_tcp")]
pub mod tcp_mod3;

#[cfg(feature = "use_req")]
pub mod req;

#[cfg(feature = "use_req_async")]
pub mod req_async;

#[cfg(feature = "use_mail")]
pub mod mail;

// #[cfg(feature = "use_log")]
// pub mod mylog;

#[cfg(feature = "use_mail")]
pub mod send_dingding_msg;

pub mod serdejson;
pub mod string;
pub mod time;

#[cfg(feature = "use_toml")]
#[macro_use]
pub mod toml_read;

pub mod run_time;
pub mod time_ellapse;

#[cfg(feature = "use_req")]
pub mod send_feishu_msg;

#[cfg(feature = "use_restart")]
pub mod restart;

pub use arg::get_arg;
pub use exit_signal::ExitSignal;
pub use exit_signal::ExitSignal2;
pub use i_result::IResult;
pub use i_result::StdBoxError;
pub use serdejson::get_json_string;
pub use serdejson::JsonVExentd;
pub use serdejson::SerdejsonExentd;
pub type JsonV = serde_json::Value;