Cargo Features
[dependencies]
prql = { version = "0.1.1", default-features = false, features = ["cli"] }
- cli default = atty, clap, clio, color-eyre
-
We previously had
cli
not compile by default, because of an issue with compiling a dependency with wasm. We no longer exclude it, but there's no need to have it in in order to use it as a lib. We could alternatively put it in a separate crate if that would make things more modular. - default = cli
-
These default features are set whenever
prql
is added without
somewhere in the dependency tree.default-features = false
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.