mod crawler;
mod crawler_runner;
mod page;
mod task_runner;

mod host_priority_queue;

pub use crawler::Crawler;
pub use crawler_runner::CrawlerRunner;
pub use page::{Error, Page, PageResult};

pub type PagesVec = Vec<Box<dyn Page>>;
pub type ResultsVec = Vec<Box<dyn Page>>;

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }
}
