pub mod client;
pub mod config;
pub mod error;
pub mod extractor;
pub mod html_parser;
pub mod scraper;
pub mod types;
pub use client::HttpClient;
pub use config::Config;
pub use error::{FerrisFetcherError, Result};
pub use extractor::{DataExtractor, ExtractionRuleBuilder, presets};
pub use html_parser::HtmlParser;
pub use scraper::{FerrisFetcher, FerrisFetcherBuilder};
pub use types::{ScrapedData, ExtractionRule, ExtractionType, RetryPolicy, HttpMethod, RequestStats, RateLimit};
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_version() {
assert!(!VERSION.is_empty());
}
}