Adding pdfium library as a dependency

Run this command in a terminal, in your project's directory:

cargo add pdfium

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

pdfium = "0.10.2"

The pdfium library will be automatically available globally. Read the pdfium library documentation.

Back to the crate overview.