
[workspace]
members = [
    "crates/kogral-core",
    "crates/kogral-mcp",
    "crates/kogral-cli",
]
resolver = "2"

[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.70"
authors = ["Tools Ecosystem"]
license = "MIT OR Apache-2.0"
homepage = "https://kogral.dev"
repository = "https://github.com/vapora/kogral"
description = "KOGRAL - Git-native knowledge graphs for developer teams"

[workspace.dependencies]
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.9"

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

# Error handling
thiserror = "2.0"
anyhow = "1.0"

# Markdown parsing
pulldown-cmark = "0.13"

# Template engine
tera = "1.20"

# Embeddings
rig-core = "0.28"

# Storage
surrealdb = "2.4"
dashmap = "6.1"

# File watching
notify = "8.2"

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

# UUID generation
uuid = { version = "1.19", features = ["v4", "serde"] }

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

# CLI
clap = { version = "4.5", features = ["derive"] }
colored = "3.0"
dirs = "6.0"

# Testing
mockito = "1.7"
tempfile = "3.24"

# Async utilities
async-trait = "0.1"
futures = "0.3"

# File operations
walkdir = "2.5"
regex = "1.12"
once_cell = "1.20"

# Embeddings (optional)
fastembed = "5.8"
