#![forbid(unsafe_code)]
mod engine;
mod error;
pub(crate) mod firecrawl;
pub mod jina;
mod jobs;
mod limits;
mod metrics;
pub(crate) mod server;
pub mod types;
mod validate;
mod webhook;
pub use engine::{BoxFuture, CrawlResume, CrawlSink, Engine};
pub use error::{ApiError, ErrorCode};
pub use jobs::{JOB_TTL, Job, JobKind, JobState, Jobs, rfc3339};
pub use limits::KeyLimits;
pub use server::{Config, Timeouts, router, serve, serve_with};
pub use validate::{
MAX_CRAWL_DEPTH, MAX_CRAWL_LIMIT, MAX_MAP_LIMIT, MAX_PARSE_FILE_BYTES, MAX_SCRAPE_TIMEOUT_MS,
MAX_URL_LEN, MAX_URLS, check_parse_options, check_scrape_options, check_url,
};
pub use webhook::{WebhookConfig, WebhookSettings};