Cargo Features

[dependencies]
lopdf = { version = "0.32.0", default-features = false, features = ["chrono_time", "embed_image", "nom_parser", "pom_parser", "serde", "rayon"] }
default = chrono_time, nom_parser, rayon

These default features are set whenever lopdf is added without default-features = false somewhere in the dependency tree.

chrono_time default = chrono
embed_image = image

Affects xobject::image, xobject::image_from

nom_parser default = nom
pom_parser = pom
serde

Enables serde

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chrono chrono_time
image embed_image?

Enables image ^0.24

nom nom_parser
pom pom_parser?
rayon default