pub(crate) mod ascii85;
pub(crate) mod ascii_hex;
pub mod cache;
pub mod check;
pub mod diagnostics;
pub mod error;
pub mod filters;
pub mod fonts;
pub mod linearization;
pub mod object;
pub mod outline;
pub mod pages;
pub mod parser;
pub mod reader;
pub(crate) mod run_length;
pub mod writer;
pub mod xref;
pub(crate) mod security;
pub use cache::{CacheEntry, ObjectCache};
pub use check::{check_reader, check_reader_strict, check_reader_with_options, CheckReport};
pub use diagnostics::{Diagnostic, Diagnostics, Severity};
pub use error::{EncryptedError, Error, Result};
pub use object::{Dictionary, Object, ObjectRef, ParseObjectRefError, Stream};
pub use outline::OutlineItem;
pub use parser::parse_object;
pub use reader::{Pdf, PdfOpenOptions, Permissions};
pub use security::password::PasswordMode;
pub use writer::{
effective_pdf_version, parse_pdf_version, write_pdf, write_pdf_with_options, write_qdf,
WriteOptions,
};
pub use xref::{
load_xref_and_trailer, load_xref_and_trailer_best_effort, load_xref_and_trailer_with_repair,
LoadedXref, XrefForm, XrefOffset,
};
pub fn version() -> &'static str {
env!("CARGO_PKG_VERSION")
}