spire_core/lib.rs
1#![forbid(unsafe_code)]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3#![doc = include_str!("../README.md")]
4
5pub mod backend;
6mod context;
7pub mod crawler;
8pub mod dataset;
9mod error;
10pub mod frontier;
11pub mod request;
12mod sync;
13pub mod worker;
14
15pub use http;
16
17pub use crate::context::Context;
18pub use crate::crawler::Crawler;
19pub use crate::error::{BoxError, Error, ErrorKind, Result};
20
21/// Tracing target for crawler operations.
22const TRACING_TARGET: &str = "spire_core";