Skip to content

Commit

Permalink
disable lopdf erro when pdf-extract is usde
Browse files Browse the repository at this point in the history
  • Loading branch information
linusbierhoff committed Jan 11, 2025
1 parent 7d3e8a1 commit 79deff7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/document_loaders/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub enum LoaderError {
CSVError(#[from] csv::Error),

#[cfg(any(feature = "lopdf"))]
#[cfg(not(feature = "pdf-extract"))]
#[error(transparent)]
LoPdfError(#[from] lopdf::Error),

Expand Down

0 comments on commit 79deff7

Please sign in to comment.