[package]
name = "qwenclaw-rig"
version = "0.1.0"
edition = "2021"
description = "Rig-based AI agent service for QwenClaw"
authors = ["admin <admin@rommark.dev>"]

[dependencies]
# Rig core framework
rig-core = "0.16"

# Async runtime
tokio = { version = "1", features = ["full"] }

# HTTP server (Axum)
axum = { version = "0.7", features = ["macros"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace"] }

# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Error handling
anyhow = "1"
thiserror = "1"

# Environment variables
dotenvy = "0.15"

# UUID for session IDs
uuid = { version = "1", features = ["v4"] }

# Time
chrono = { version = "0.4", features = ["serde"] }

# Vector store (SQLite - using single version)
rusqlite = { version = "0.31", features = ["bundled"] }

[profile.release]
opt-level = 3
lto = true
