Cargo Features

[dependencies]
piet-cosmic-text = { version = "0.3.4", default-features = false, features = ["std", "compress_fonts", "embed_fonts", "rayon", "tracing"] }
default = compress_fonts, std, tracing

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

std default

Enables std of cosmic-text ^0.9.0

compress_fonts default = embed_fonts, yazi
embed_fonts compress_fonts
rayon = rayon-core

Affects export_work::Rayon

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.

rayon-core rayon?
tracing default
yazi compress_fonts

Enables yazi ^0.1.6