//! Safe Rust bindings for PDFium — focused on PDF page rendering.
//!
//! # Example
//!
//! ```no_run
//! let _lib = pdfium_bind::Library::init();
//! let doc = pdfium_bind::Document::open("input.pdf").unwrap();
//! let page = doc.page(0).unwrap();
//! let result = page.render(150.0).unwrap();
//! // result.data contains RGBA pixels at result.width × result.height
//! ```

mod error;
mod library;
mod document;
mod page;
mod render;

pub use error::{Error, OpenError};
pub use library::Library;
pub use document::Document;
pub use page::Page;
pub use render::RenderResult;
