Jesús Pérez 09a97ac8f5
chore: update platform submodule to monorepo crates structure
Platform restructured into crates/, added AI service and detector,
       migrated control-center-ui to Leptos 0.8
2026-01-08 21:32:59 +00:00

64 lines
1.5 KiB
TOML

[package]
name = "ai-service"
version.workspace = true
edition.workspace = true
authors.workspace = true
description = "HTTP service for AI capabilities including RAG, MCP tool invocation, and knowledge graph operations"
[dependencies]
# Workspace dependencies
tokio = { workspace = true, features = ["full"] }
futures = { workspace = true }
async-trait = { workspace = true }
# Web server and API
axum = { workspace = true }
tower = { workspace = true, features = ["full"] }
tower-http = { workspace = true, features = ["cors", "trace"] }
# Serialization
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
toml = { workspace = true }
# Platform configuration
platform-config = { path = "../platform-config" }
# Error handling
anyhow = { workspace = true }
thiserror = { workspace = true }
# Logging
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
# UUID and time
uuid = { workspace = true, features = ["v4", "serde"] }
chrono = { workspace = true, features = ["serde"] }
# CLI
clap = { workspace = true, features = ["derive"] }
# RAG crate for AI capabilities
provisioning-rag = { path = "../rag" }
# MCP server tools for real implementations
provisioning-mcp-server = { path = "../mcp-server" }
# Graph operations for DAG
petgraph = { workspace = true }
[dev-dependencies]
tokio-test = { workspace = true }
tempfile = { workspace = true }
# Library target
[lib]
name = "ai_service"
path = "src/lib.rs"
# Binary target
[[bin]]
name = "ai-service"
path = "src/main.rs"