opening_hours/lib.rs
#![doc = include_str!("../README.md")]
pub mod date_filter;
pub mod error;
#[macro_use]
pub mod schedule;
pub mod context;
pub mod country;
pub mod opening_hours;
pub mod time_filter;
mod utils;
#[cfg(test)]
mod tests;
// Public re-exports
// TODO: make opening_hours.rs lighter and less spaghetty
pub use crate::context::{Context, ContextHolidays};
pub use crate::opening_hours::OpeningHours;
pub use crate::utils::range::DateTimeRange;
pub use opening_hours_syntax::rules::RuleKind;