Cargo Features

[dependencies]
oak-markdown = { version = "0.0.11", default-features = false, features = ["serde", "lsp", "mcp", "io-std"] }
default = serde

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

serde default

Enables serde, serde of oak-core

lsp mcp? = oak-highlight, oak-pretty-print

Enables futures, oak-hover, oak-lsp, oak-vfs, and tokio

Affects lsp::MarkdownHoverProvider, lsp::MarkdownLanguageService, oak-markdown::lsp

mcp = io-std, lsp

Enables io-std of oak-mcp

Affects oak-markdown::mcp

io-std mcp?

Enables tokio

Affects mcp::serve_markdown_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-markdown::lsp

oak-pretty-print lsp?

Affects oak-markdown::lsp