Cargo Features

[dependencies]
msdfgen = { version = "0.2.1", default-features = false, features = ["all", "font", "rustdoc", "bindgen", "freetype-rs", "png", "ttf-parser"] }
default all? = freetype-rs, png, ttf-parser

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

all rustdoc? = default, font
font all? = font-rs, typeface
rustdoc = all

Enables rustdoc of msdfgen-sys

bindgen

generate bindings when build

Enables bindgen of msdfgen-sys

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.

font-rs font?

Enables font ^0.10

freetype-rs default

Enables freetype-rs ^0.32

png default
ttf-parser default

Enables ttf-parser ^0.18

typeface font?

Enables typeface ^0.2