Cargo Features
[dependencies]
taplo-cli = { version = "0.10.0", default-features = false, features = ["lint", "lsp", "native-tls", "rustls-tls", "toml-test", "completions"] }
- default = completions, lint, lsp, rustls-tls, toml-test
-
These default features are set whenever
taplo-cliis added withoutsomewhere in the dependency tree.default-features = false - lint default lsp toml-test = reqwest
-
Enables reqwest and schema of taplo-common
Affects
args::LintCommand… - lsp default = async-ctrlc, lint, taplo-lsp
-
Affects
args::LspCommand,args::LspCommandIo… - native-tls
-
Enables native-tls of taplo-common and optional taplo-lsp
taplo-common:
default-tls enables native-tls but without enabling native-tls specific features.
- rustls-tls default
-
Enables rustls-tls of taplo-common and optional taplo-lsp
- toml-test default = lint
- completions default
-
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.
- taplo-lsp lsp
- reqwest lint
-
Enables reqwest ^0.11.9
- async-ctrlc not wasm lsp