[package]
name = "dirigent_projects"
version = "0.1.0"
edition = "2021"

[lib]
path = "src/lib.rs"

[dependencies]
# Async traits
async-trait = "0.1"
# Date/time handling
chrono = { version = "0.4", features = ["serde"] }
dirigent_auth = { path = "../dirigent_auth" }
# Home directory resolution
dirs = "6"
# Protocol types (WASM-compatible project types)
dirigent_protocol = { path = "../dirigent_protocol" }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error handling
thiserror = "2.0"
# Async runtime and file operations
tokio = { version = "1", features = ["fs", "io-util", "process", "sync"] }
# Logging
tracing = "0.1"
# UUID support with v7 and serde
uuid = { version = "1.0", features = ["serde", "v7"] }

[dev-dependencies]
tempfile = "3.0"
tokio = { version = "1", features = ["fs", "macros", "rt-multi-thread", "sync"] }
