gate errors module behind reqwest

This commit is contained in:
Daniel Bulant 2025-08-31 14:29:18 +02:00 committed by GitHub
parent 165de042c4
commit dd658cfc47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -15,5 +15,7 @@ mod fetched_robots_txt;
pub use self::robots_txt::RobotsTxt;
mod path;
pub(crate) use self::path::Path;
#[cfg(feature = "reqwest")]
mod errors;
#[cfg(feature = "reqwest")]
pub use self::errors::{Error, ErrorKind};

View file

@ -8,7 +8,6 @@ pub struct Error {
#[derive(Debug)]
pub enum ErrorKind {
Url(url::ParseError),
#[cfg(feature = "reqwest")]
Http(reqwest::Error),
}