Cargo Features

[dependencies]
sctk-adwaita = { version = "0.9.0", default-features = false, features = ["crossfont", "ab_glyph"] }
default = ab_glyph

The ab_glyph feature is set by default whenever sctk-adwaita is added without default-features = false somewhere in the dependency tree.

crossfont

Enables crossfont

Draw title text using crossfont --features crossfont

ab_glyph default = memmap2

Enables ab_glyph

Draw title text using ab_glyph --features ab_glyph

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.

memmap2 ab_glyph