lodestone-parser/src/logic.rs

13 lines
257 B
Rust
Raw Normal View History

2018-09-02 19:12:52 +00:00
macro_rules! selectors {
($($name:ident => $selector:expr);+$(;)?) => {
lazy_static! {
$(
static ref $name: scraper::Selector = scraper::Selector::parse($selector).unwrap();
)+
}
}
}
pub mod character;
pub mod free_company;