Cargo Features

[dependencies]
typstyle = { version = "0.11.19", default-features = false, features = ["cli", "wasm"] }
default = cli, wasm

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

cli default = clap, once_cell

Required by the binary

wasm default = wasm-bindgen

Affects typstyle::pretty_print_wasm

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.

once_cell cli
wasm-bindgen wasm
clap cli