gitbutler/crates/gitbutler-watcher/vendor/debouncer/Cargo.toml
Sebastian Thiel 09ca2d0284
enforce in-process-synchronization during worktree updates and prolonged reads in oplog
That way it's assured that reads and writes don't intersect, but assure we only
hold such lock for the shortest amount of time for reads and and for the
full duration of writes.
2024-07-15 14:21:15 +02:00

35 lines
662 B
TOML

[package]
name = "gitbutler-notify-debouncer"
version = "0.0.0"
edition = "2021"
publish = false
[lib]
doctest = false
[features]
mock_instant = ["dep:mock_instant"]
[dependencies]
tracing = "0.1.40"
notify = { version = "6.0.1" }
parking_lot.workspace = true
file-id = "0.2.1"
walkdir = "2.2.2"
crossbeam-channel = "0.5.13"
mock_instant = { version = "0.3.2", optional = true }
[dev-dependencies]
gitbutler-notify-debouncer = { path = ".", features = ["mock_instant"] }
pretty_assertions = "1.4.0"
rstest = "0.20"
serde = { version = "1.0.203", features = ["derive"] }
deser-hjson = "1.1.1"
[lints.clippy]
all = "deny"
perf = "deny"
correctness = "deny"