Skip to main content

opening_hours_syntax/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(not(feature = "std"), no_std)]
3
4#[macro_use]
5extern crate alloc;
6
7#[macro_use]
8extern crate pest_derive;
9
10mod display;
11mod normalize;
12mod parser;
13
14pub mod error;
15pub mod extended_time;
16pub mod rules;
17pub mod sorted_vec;
18
19pub use error::{Error, Result};
20pub use extended_time::ExtendedTime;
21pub use parser::parse;
22pub use rules::RuleKind;
23
24#[cfg(test)]
25pub mod tests;