metasearch/src/engines/answer.rs
2024-04-04 04:51:19 +00:00

16 lines
347 B
Rust

pub mod calc;
pub mod dictionary;
pub mod ip;
pub mod thesaurus;
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;