# 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 = "embacle-mcp"
version = "0.19.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for embacle LLM runners — expose AI CLI tools via Model Context Protocol"
readme = "README.md"
keywords = [
    "mcp",
    "llm",
    "cli",
    "ai",
    "json-rpc",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/dravr-ai/dravr-embacle"

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

[[bin]]
name = "embacle-mcp"
path = "src/main.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dravr-tronc]
version = "0.5.3"

[dependencies.embacle]
version = "0.19.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.45"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "sync",
    "signal",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1.45"
features = [
    "full",
    "test-util",
]

[lints.clippy]
absolute_paths = "deny"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "deny"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
redundant_pub_crate = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
str_to_string = "deny"
unnecessary_literal_bound = "allow"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "deny"
