[package]
name = "kei-projects-watcher"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
description = "Long-running fsevents daemon — watches ~/Projects/, debounces 2 s, calls kei_projects_index::reindex_one per touched project."
authors.workspace = true
license.workspace = true

[[bin]]
name = "kei-projects-watcher"
path = "src/main.rs"

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

[dependencies]
# TODO migrate to notify 8 (workspace) — pinned to 6 pending API migration
notify = "6"
rusqlite = { workspace = true }
tokio = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
clap = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
dirs = "5"
kei-projects-index = { path = "../kei-projects-index" }

[dev-dependencies]
tempfile = { workspace = true }
