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
somewhere in the dependency tree.default-features = false - 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.