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 whenever tower-lsp is added without default-features = false somewhere in the dependency tree.

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.

async-codec-lite runtime-agnostic?
tokio runtime-tokio
tokio-util runtime-tokio