Cargo Features

[dependencies]
oak-cpp = { version = "0.0.11", default-features = false, features = ["serde", "oak-highlight", "lsp", "mcp"] }
default = serde

The serde feature is set by default whenever oak-cpp is added without default-features = false somewhere in the dependency tree.

serde default

Enables serde, serde of oak-core

oak-highlight lsp?

Enables oak-highlight

lsp mcp? = oak-highlight

Enables futures, oak-hover, oak-lsp, oak-pretty-print, and oak-vfs

Affects lsp::CppLanguageService

mcp = lsp

Enables io-std of oak-mcp

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.

oak-mcp mcp?