# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "oak-mcp"
version = "0.0.5"
authors = ["Yggdrasill Team <192607617@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Oak MCP server with support for compact code structures and fuzzy semantic search."
homepage = "https://github.com/ygg-lang/oaks"
readme = "readme.md"
keywords = [
    "mcp",
    "context-protocol",
    "ai",
]
categories = ["development-tools"]
license = "MPL-2.0"
repository = "https://github.com/ygg-lang/oaks/tree/master/projects/oak-mcp"
resolver = "2"

[features]
axum = ["tokio/full"]
default = ["serde"]
io-std = ["tokio/io-std"]
serde = [
    "dep:serde",
    "dep:serde_json",
    "oak-core/serde",
]

[lib]
name = "oak_mcp"
path = "src/lib.rs"

[[example]]
name = "rust_stdio"
path = "examples/rust_stdio.rs"

[dependencies.futures]
version = "0.3.32"

[dependencies.oak-core]
version = "0.0.5"

[dependencies.oak-hover]
version = "0.0.5"

[dependencies.oak-lsp]
version = "0.0.5"

[dependencies.oak-navigation]
version = "0.0.5"

[dependencies.oak-semantic-search]
version = "0.0.5"

[dependencies.oak-symbols]
version = "0.0.5"

[dependencies.oak-vfs]
version = "0.0.5"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.serde_json]
version = "1.0.149"
optional = true

[dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "sync",
    "io-util",
    "time",
    "io-std",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]
