Skip to main content

pdfboss_aio/
lib.rs

1//! Async, range-fetching PDF access for pdfboss: open huge files without
2//! loading them, hold many documents concurrently, and read remote PDFs
3//! over HTTP range requests. Built sans-I/O style on the synchronous
4//! pdfboss-core machinery: bytes are fetched in small windows and handed
5//! to the existing sync lexer, parser and filters. The whole file is
6//! never read.
7
8pub mod backend;
9pub mod cache;
10pub mod document;
11pub mod error;
12#[cfg(feature = "write")]
13pub mod sink;
14pub mod stream;
15
16#[cfg(feature = "http")]
17pub use backend::HttpBackend;
18pub use backend::{Backend, BoxFuture, FileBackend, MemBackend};
19pub use cache::CachedBackend;
20pub use document::AsyncDocument;
21pub use error::{Error, Result};
22#[cfg(feature = "write")]
23pub use sink::TokioSink;
24pub use stream::ElementStream;