These docs describe changes that aren’t released yet. For the newest release, see the released docs.
Rust API (rustdoc)
docs.rs builds the API documentation of every Lamina PDF crate on crates.io. Start with laminapdf on docs.rs, the crate to depend on. It wraps the core crates and holds Document, Builder, Error, Warning, jobs and CancelToken.
The other crates are documented the same way:
laminapdf-syntaxlaminapdf-coslaminapdf-modellaminapdf-opslaminapdf-savelaminapdf-contentlaminapdf-textlaminapdf-buildlaminapdf-render-pdfium
docs.rs couldn’t build laminapdf-source and laminapdf-render at 0.2.0-alpha.2, so their docs come with the next release; until then, build them yourself as below. Install lists every crate, with its page on crates.io.
Build the docs yourself
Section titled “Build the docs yourself”To read the docs of a change before it’s released, build them from a checkout of Lamina PDF:
cargo doc --workspace --no-deps --all-features --openThe command opens the docs in your browser. Every public item of every crate is documented.