[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"