[package]
edition = "2021"
name = "embacle-server"
version = "0.14.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified OpenAI-compatible REST API + MCP server for embacle LLM runners"
readme = "README.md"
keywords = [
"openai",
"llm",
"mcp",
"ai",
"rest",
]
categories = [
"command-line-utilities",
"web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/dravr-ai/dravr-embacle"
[lib]
name = "embacle_server"
path = "src/lib.rs"
[[bin]]
name = "embacle-server"
path = "src/main.rs"
[[test]]
name = "api_integration"
path = "tests/api_integration.rs"
[[test]]
name = "live_copilot"
path = "tests/live_copilot.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dravr-tronc]
version = "0.2"
features = ["notifications"]
[dependencies.embacle]
version = "0.14.3"
features = [
"config-file",
"copilot-headless",
"otel",
]
[dependencies.embacle-mcp]
version = "0.14.3"
[dependencies.futures]
version = "0.3"
[dependencies.opentelemetry]
version = "0.28"
[dependencies.opentelemetry_sdk]
version = "0.28"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.subtle]
version = "2"
[dependencies.tokio]
version = "1.45"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.tokio]
version = "1.45"
features = [
"full",
"test-util",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.which]
version = "7.0"
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
unnecessary_literal_bound = "allow"
[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"