printwell-pdf 0.1.11

PDF manipulation features (forms, signing) for Printwell
Documentation
//! PDF manipulation features for printwell.
//!
//! This crate provides optional PDF manipulation features:
//! - `encrypt`: Password protection and encryption
//! - `forms`: `AcroForms` support for adding form fields
//! - `signing`: Digital signature support (`PAdES`)
//! - `watermark`: Text and image watermark support

#![warn(missing_docs)]

#[cfg(feature = "encrypt")]
pub mod encrypt;

#[cfg(feature = "forms")]
pub mod forms;

#[cfg(feature = "watermark")]
pub mod watermark;

#[cfg(feature = "bookmarks")]
pub mod bookmarks;

#[cfg(feature = "signing")]
pub mod crypto;

#[cfg(feature = "signing")]
pub mod signing;

#[cfg(feature = "annotations")]
pub mod annotations;

#[cfg(feature = "pdfa")]
pub mod pdfa;

#[cfg(feature = "pdfua")]
pub mod pdfua;

mod error;

pub use error::{
    AnnotationError, BookmarkError, EncryptionError, Error, FormError, PdfAError, PdfUAError,
    Result, SigningError, WatermarkError,
};

#[cfg(test)]
mod tests;