Cargo Features

[dependencies]
silicon = { version = "0.5.2", default-features = false, features = ["bin", "harfbuzz"] }
default = bin, harfbuzz

bin fearure is required for silicon as a application disable it when using as a library

bin default = anyhow, env_logger, shell-words, structopt
harfbuzz default = harfbuzz-sys

Enables loader-freetype-default and source-fontconfig-default of font-kit ^0.11

Affects silicon::hb_wrapper

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.

shell-words bin
harfbuzz-sys harfbuzz

Enables harfbuzz-sys ^0.5.0

anyhow bin
env_logger bin

Enables env_logger ^0.9.3

structopt bin