#[macro_use]
mod macros;
mod datetime;
mod limit_pack;
mod more_error;
#[cfg(feature = "use_sql")]
mod sql_date;
#[cfg(feature = "use_sql")]
mod sql_op;
#[cfg(feature = "use_tokio")]
mod tokio_helper;
pub mod textsearcher;
pub mod use_basic {
pub use {
crate::{
crate_version,
datetime::{
bj_date, bj_dates, bj_time, bj_time_init, bj_timeb, bj_times, bj_timestamp, bj_timestamp_millis,
bjtc_bd, bjtc_bf, bjtc_bn, bjtc_bs, bjtc_bt, bjtc_df, bjtc_dn, bjtc_ds, bjtc_dt, bjtc_fb, bjtc_fd,
bjtc_from_duration, bjtc_fs, bjtc_ft, bjtc_nb, bjtc_nd, bjtc_ns, bjtc_nt, bjtc_sb, bjtc_sd, bjtc_sf,
bjtc_sn, bjtc_st, bjtc_tb, bjtc_td, bjtc_tf, bjtc_tn, bjtc_to_duration, bjtc_ts, bjtc_tt,
},
ok_or_return, some_or_return,
textsearcher::TextSearcher,
},
python_comm_macros::build_time,
rust_decimal::{prelude::FromPrimitive, Decimal},
};
}
pub mod use_limit_pack {
pub use {
crate::limit_pack::{ForStruct, Limit, LimitPackAble},
python_comm_macros::LimitPack,
};
}
pub mod use_m {
pub use {
crate::{
m,
more_error::{AddMoreError, AsMoreError, LessError, MoreError},
},
python_comm_macros::auto_func_name,
};
}
pub mod use_quick_assign {
pub use python_comm_macros::QuickAssign;
}
#[cfg(feature = "use_sql")]
pub mod use_sql {
pub use {
crate::{
sql_date::{SqlDate, SqlTime},
sql_op::{CreateDbPool, DbPool, DbPoolArgs, SqlModel},
},
mysql::{
params,
prelude::{ConvIr, FromValue},
},
python_comm_macros::AsSqlModel,
};
}
#[cfg(feature = "use_tokio")]
pub mod use_tokio {
pub use crate::tokio_helper::{join_all, join_all_and_reduce, join_to_happy};
}