[package]
name = "oak-ocaml"
description = "OCaml functional programming language parser with support for modern OCaml features and type system."
categories = ["parsing"]
keywords = ["parser", "ocaml", "type-system"]
documentation = "https://docs.rs/oak-ocaml"
readme = "readme.md"
version.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
oak-core = { workspace = true }
oak-highlight = { workspace = true }
oak-pretty-print = { workspace = true }
oak-lsp = { workspace = true }
oak-hover = { workspace = true }
oak-vfs = { workspace = true }
oak-mcp = { workspace = true, optional = true }
serde = { workspace = true }
tracing = { workspace = true }

tokio = { workspace = true, optional = true }
axum = { workspace = true, optional = true }

[features]
default = []
mcp = ["dep:oak-mcp"]
axum = ["mcp", "dep:tokio", "dep:axum", "oak-mcp/axum", "oak-lsp/axum"]


[package.metadata.docs.rs]
all-features = true
