Cargo Features
genpdf has no features set by default.
[dependencies]
genpdf = { version = "0.2.0", features = ["images", "hyphenation"] }
- images = image
-
Enables embedded_images of printpdf ^0.3.4
printpdf:
enables image support with some basic formats
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.
- hyphenation implicit feature
-
Enables hyphenation
hyphenation:
Knuth-Liang hyphenation for a variety of languages
Affects
genpdf::Context.hyphenator
… - image images?
-
Enables image ^0.23.12