Cargo Features
[dependencies]
oak-python = { version = "0.0.4", default-features = false, features = ["serde", "lsp", "mcp", "tokio"] }
- default = serde
-
The
serdefeature is set by default wheneveroak-pythonis added withoutsomewhere in the dependency tree.default-features = false - serde default
- lsp mcp? = oak-highlight, oak-pretty-print
-
Enables futures, oak-hover, oak-lsp, and oak-vfs
Affects
lsp::PythonHoverProvider,lsp::PythonLanguageService,oak-python::lsp… - mcp = lsp
-
Affects
oak-python::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-highlight lsp?
-
Affects
lsp::highlighter,oak-python::lsp… - oak-pretty-print lsp?
-
Affects
oak-python::lsp… - oak-mcp mcp?
- tokio implicit feature
-
Enables tokio
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications