Cargo Features

[dependencies]
typstyle = { version = "0.12.1", default-features = false, features = ["cli", "wasm", "git-info", "completion"] }
default = cli, completion, git-info, wasm

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

cli default completion = clap, once_cell, walkdir

Required by the binary

wasm default = wasm-bindgen

Affects typstyle::pretty_print_wasm

git-info build default

Enables git and git2 of vergen ^8.3.2

completion default = cli

Enables clap_complete

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
walkdir cli