1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod config_env;
pub mod github;
pub mod backend;
#[macro_use]
extern crate derive_builder;
pub mod constants;
pub mod channel;
pub mod queue;
pub mod web;
pub mod time_spent;

macro_rules! reg {
    ($re:literal $(,)?) => {{
        static RE: once_cell::sync::OnceCell<regex::Regex> = once_cell::sync::OnceCell::new();
        RE.get_or_init(|| regex::Regex::new($re).unwrap())
    }};
}
pub(crate) use reg;