Cargo Features

[dependencies]
glifparser = { version = "2.0.1", default-features = false, features = ["glifimage", "glifserde", "skia", "mfek", "more-image-formats", "more-iof", "fat", "fat-no-skia", "flo_curves"] }
default mfek? skia? = glifimage, glifserde

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

glifimage default fat? fat-no-skia? = image

Affects glif::Glif.images, glifparser::image

glifserde default fat? fat-no-skia? = serde

Enables plist and serde of integer_or_float and kurbo ^0.9

integer_or_float:

Our submodules
The default feature is serde, dep:serde syntax still (Oct '21) not stabilized

Affects point::PointData

skia fat? = default, skia-safe

Affects matrix::skia

mfek fat? fat-no-skia? = default

Affects error::mfek, glif::mfek

more-image-formats fat? fat-no-skia?

Enables bmp, gif, jpeg, tiff and webp of image ^0.24

more-iof fat? fat-no-skia?

Enables num-traits of integer_or_float

fat = glifimage, glifserde, mfek, more-image-formats, more-iof, skia
fat-no-skia = glifimage, glifserde, mfek, more-image-formats, more-iof

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.

skia-safe skia?
image glifimage more-image-formats?

Enables image ^0.24

serde glifserde
flo_curves implicit feature

Enables flo_curves ^0.6

flo_curves:

Library for manipulating Bezier curves