avin_utils/
lib.rs

1/****************************************************************************
2 * URL:         http://avin.info
3 * AUTHOR:      Alex Avin
4 * E-MAIL:      mr.alexavin@gmail.com
5 * LICENSE:     MIT
6 ****************************************************************************/
7
8//! # AVIN  -  Ars Vincere
9//!
10//! Utils for general crate `avin`
11//!
12//! # ru
13//! Утилиты для основного крейта `avin`
14
15mod cmd;
16mod conf;
17mod error;
18mod logger;
19mod misc;
20mod timer;
21
22pub use cmd::Cmd;
23pub use conf::{CFG, Configuration};
24pub use error::AvinError;
25pub use logger::init_logger;
26pub use misc::{
27    DAY_BEGIN, DAY_END, MINUTES_IN_DAY, MSK_OFFSET, bisect_left,
28    bisect_right, dt, filter_dt, max, min, replace_ts, round, round_price,
29    str_date_to_utc, str_dt_to_utc, sum, ts,
30};
31pub use timer::Timer;