112 lines
2.9 KiB
TOML
Raw Normal View History

2025-10-07 10:59:52 +01:00
[package]
authors.workspace = true
description = "RAG system for provisioning platform with Rig framework and SurrealDB"
2026-01-12 05:07:30 +00:00
edition.workspace = true
name = "rag"
2026-01-12 05:07:30 +00:00
version.workspace = true
2025-10-07 10:59:52 +01:00
[[bin]]
name = "provisioning-rag"
path = "src/main.rs"
2025-10-07 10:59:52 +01:00
[dependencies]
# ============================================================================
# WORKSPACE DEPENDENCIES - Core async runtime and traits
# ============================================================================
async-trait = { workspace = true }
2026-01-12 05:07:30 +00:00
futures = { workspace = true }
tokio = { workspace = true, features = [
"rt",
"rt-multi-thread",
"process",
"io-util",
"time",
"fs",
] }
2025-10-07 10:59:52 +01:00
# Serialization and data handling
2026-01-12 05:07:30 +00:00
chrono = { workspace = true }
2025-10-07 10:59:52 +01:00
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
uuid = { workspace = true }
# Error handling
anyhow = { workspace = true }
thiserror = { workspace = true }
# Logging framework
2025-10-07 10:59:52 +01:00
tracing = { workspace = true }
# HTTP client for OpenAI API
reqwest = { workspace = true }
# ============================================================================
# REST API Framework (Phase 8)
# ============================================================================
2025-10-07 10:59:52 +01:00
axum = { workspace = true }
http = { workspace = true }
2026-01-12 05:07:30 +00:00
hyper = { workspace = true, features = ["full"] }
tower = { workspace = true }
tower-http = { workspace = true, features = ["cors", "trace"] }
2025-10-07 10:59:52 +01:00
# Database
surrealdb = { workspace = true }
2025-10-07 10:59:52 +01:00
# RAG Framework
rig-core = { workspace = true }
rig-surrealdb = { workspace = true }
2025-10-07 10:59:52 +01:00
# Filesystem and path operations
dirs = { workspace = true }
2026-01-12 05:07:30 +00:00
walkdir = { workspace = true }
2025-10-07 10:59:52 +01:00
# Configuration
config = { workspace = true }
2025-10-07 10:59:52 +01:00
# Platform configuration management
platform-config = { workspace = true }
# Stratum ecosystem - embeddings and LLM abstraction
stratum-embeddings = { workspace = true, features = ["openai-provider", "ollama-provider", "fastembed-provider"] }
stratum-llm = { workspace = true, features = ["anthropic", "openai", "ollama"] }
2025-10-07 10:59:52 +01:00
# Regex for document parsing
regex = { workspace = true }
2025-10-07 10:59:52 +01:00
# Tokenization for chunking
tokenizers = { workspace = true }
2025-10-07 10:59:52 +01:00
# Caching support (Phase 7)
2026-01-12 05:07:30 +00:00
lru = { workspace = true }
sha2 = { workspace = true }
# Metrics and monitoring (Phase 7)
parking_lot = { workspace = true }
# ============================================================================
# CLI AND TESTING
# ============================================================================
clap = { workspace = true, features = ["derive", "env"] }
tracing-subscriber = { workspace = true }
2025-10-07 10:59:52 +01:00
[dev-dependencies]
assert_matches = { workspace = true }
criterion = { workspace = true, features = ["html_reports", "async_tokio"] }
2026-01-12 05:07:30 +00:00
tempfile = { workspace = true }
tokio-test = { workspace = true }
2025-10-07 10:59:52 +01:00
[[bench]]
harness = false
2026-01-12 05:07:30 +00:00
name = "phase8_benchmarks"
# Library target
2025-10-07 10:59:52 +01:00
[lib]
name = "provisioning_rag"
2025-10-07 10:59:52 +01:00
path = "src/lib.rs"
# Features
[features]
cli = []
default = ["cli"]