gitbutler/crates/gitbutler-watcher/Cargo.toml
Sebastian Thiel edd8d54950
copy tests from notify-debouncer-full as well (verbatim)
While at it, remove the docs as they are referring to the original source code.
Tests should help to understand how it is supposed to work.

Note that the copy is verbatim and modifications will happen in a separate commit,
along with the necessary license declarations.
2024-05-24 13:50:03 +02:00

45 lines
913 B
TOML

[package]
name = "gitbutler-watcher"
version = "0.0.0"
edition = "2021"
publish = false
[lib]
doctest = false
[features]
mock_instant = ["dep:mock_instant"]
[dependencies]
gitbutler-core.workspace = true
thiserror.workspace = true
anyhow = "1.0.82"
futures = "0.3.30"
tokio = { workspace = true, features = [ "macros" ] }
tokio-util = "0.7.10"
tracing = "0.1.40"
gix = { workspace = true, features = ["excludes"] }
backoff = "0.4.0"
notify = { version = "6.0.1" }
parking_lot = "0.12.1"
file-id = "0.2.1"
walkdir = "2.2.2"
crossbeam-channel = "0.5.12"
itertools = "0.12"
mock_instant = { version = "0.3.0", optional = true }
[dev-dependencies]
gitbutler-watcher = { path = ".", features = ["mock_instant"] }
pretty_assertions = "1.3.0"
rstest = "0.18"
serde = { version = "1.0.89", features = ["derive"] }
deser-hjson = "1.1.1"
rand = "0.8.5"
[lints.clippy]
all = "deny"
perf = "deny"
correctness = "deny"