2026-01-08 21:32:59 +00:00
|
|
|
[package]
|
|
|
|
|
authors.workspace = true
|
|
|
|
|
description = "HTTP service for AI capabilities including RAG, MCP tool invocation, and knowledge graph operations"
|
2026-01-12 05:07:30 +00:00
|
|
|
edition.workspace = true
|
|
|
|
|
name = "ai-service"
|
|
|
|
|
version.workspace = true
|
2026-01-08 21:32:59 +00:00
|
|
|
|
2026-02-04 01:02:18 +00:00
|
|
|
[[bin]]
|
|
|
|
|
name = "provisioning-ai-service"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
2026-01-08 21:32:59 +00:00
|
|
|
[dependencies]
|
|
|
|
|
# Workspace dependencies
|
|
|
|
|
async-trait = { workspace = true }
|
2026-01-12 05:07:30 +00:00
|
|
|
futures = { workspace = true }
|
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2026-01-08 21:32:59 +00:00
|
|
|
|
|
|
|
|
# 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
|
2026-02-04 01:02:18 +00:00
|
|
|
platform-config = { workspace = true }
|
2026-01-08 21:32:59 +00:00
|
|
|
|
|
|
|
|
# Error handling
|
|
|
|
|
anyhow = { workspace = true }
|
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
|
tracing = { workspace = true }
|
|
|
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
|
|
|
|
|
|
# UUID and time
|
|
|
|
|
chrono = { workspace = true, features = ["serde"] }
|
2026-01-12 05:07:30 +00:00
|
|
|
uuid = { workspace = true, features = ["v4", "serde"] }
|
2026-01-08 21:32:59 +00:00
|
|
|
|
|
|
|
|
# CLI
|
|
|
|
|
clap = { workspace = true, features = ["derive"] }
|
|
|
|
|
|
|
|
|
|
# RAG crate for AI capabilities
|
2026-02-04 01:02:18 +00:00
|
|
|
rag = { workspace = true }
|
2026-01-08 21:32:59 +00:00
|
|
|
|
|
|
|
|
# MCP server tools for real implementations
|
2026-02-04 01:02:18 +00:00
|
|
|
mcp-server = { workspace = true }
|
2026-01-08 21:32:59 +00:00
|
|
|
|
|
|
|
|
# Graph operations for DAG
|
|
|
|
|
petgraph = { workspace = true }
|
|
|
|
|
|
2026-02-04 01:02:18 +00:00
|
|
|
# Stratum ecosystem - embeddings and LLM abstraction (optional - requires external setup)
|
|
|
|
|
stratum-embeddings = { workspace = true }
|
|
|
|
|
stratum-llm = { workspace = true }
|
|
|
|
|
|
2026-01-08 21:32:59 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
|
tempfile = { workspace = true }
|
2026-01-12 05:07:30 +00:00
|
|
|
tokio-test = { workspace = true }
|
2026-01-08 21:32:59 +00:00
|
|
|
|
|
|
|
|
# Library target
|
|
|
|
|
[lib]
|
|
|
|
|
name = "ai_service"
|
|
|
|
|
path = "src/lib.rs"
|