metasearch/src/engines/answer.rs

14 lines
310 B
Rust
Raw Normal View History

2023-12-20 23:17:46 +00:00
pub mod calc;
2024-01-03 07:48:02 +00:00
pub mod dictionary;
2023-12-20 10:08:36 +00:00
pub mod ip;
pub mod useragent;
pub mod wikipedia;
2023-12-20 10:08:36 +00:00
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;