opening_hours/lib.rs
1#![doc = include_str!("../../README.md")]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3
4#[macro_use]
5pub mod schedule;
6pub mod localization;
7
8mod context;
9mod filter;
10mod opening_hours;
11mod utils;
12
13#[cfg(test)]
14mod tests;
15
16// Public re-exports
17// TODO: make opening_hours.rs lighter and less spaghetty
18pub use crate::context::{Context, ContextHolidays};
19pub use crate::opening_hours::{OpeningHours, DATE_END};
20pub use crate::utils::range::DateTimeRange;
21pub use opening_hours_syntax::rules::RuleKind;