# 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 = "2021"
name = "deagle-server"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP API + MCP server for deagle code intelligence"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dirmacs/deagle"

[features]
default = ["mcp"]
mcp = ["dep:rmcp"]

[[bin]]
name = "deagle-mcp"
path = "src/mcp.rs"
required-features = ["mcp"]

[[bin]]
name = "deagle-serve"
path = "src/main.rs"

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.deagle-core]
version = "0.1.6"

[dependencies.deagle-parse]
version = "0.1.6"
features = [
    "pattern",
    "text-search",
]

[dependencies.ignore]
version = "0.4"

[dependencies.rmcp]
version = "1.3"
features = [
    "server",
    "transport-io",
    "macros",
]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

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