Cargo Features
[dependencies]
tower-lsp = { version = "0.20.0", default-features = false, features = ["runtime-agnostic", "runtime-tokio", "proposed"] }
- default = runtime-tokio
-
The
runtime-tokio
feature is set by default whenevertower-lsp
is added without
somewhere in the dependency tree.default-features = false - runtime-agnostic = async-codec-lite
- runtime-tokio default = tokio, tokio-util
- proposed
-
Enables proposed of lsp-types ^0.94.1
lsp-types:
Enables proposed LSP extensions.
NOTE: No semver compatibility is guaranteed for types enabled by this feature.
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.