metasearch/src/engines/answer.rs
2024-01-14 19:08:01 -06:00

15 lines
328 B
Rust

pub mod calc;
pub mod dictionary;
pub mod ip;
pub mod timezone;
pub mod useragent;
pub mod wikipedia;
macro_rules! regex {
($re:literal $(,)?) => {{
static RE: std::sync::OnceLock<regex::Regex> = std::sync::OnceLock::new();
RE.get_or_init(|| regex::Regex::new($re).unwrap())
}};
}
pub(crate) use regex;