Cargo Features
[dependencies]
grex = { version = "1.4.5", default-features = false, features = ["cli", "python"] }
- default = cli
-
The
cli
feature is set by default whenevergrex
is added without
somewhere in the dependency tree.default-features = false - cli default = clap
- python = pyo3
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.
- clap not wasm cli
- pyo3 not wasm python?
-
Enables pyo3 ^0.20.3