[package]
edition = "2024"
rust-version = "1.88"
name = "vcs-watch"
version = "0.1.0"
authors = ["Anton Zhelezniakou"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Filesystem-watch a git/jj repository and emit typed state-change events (built on vcs-core)."
readme = "README.md"
license = "MIT"
repository = "https://github.com/ZelAnton/vcs-toolkit-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
stream = ["dep:futures-core"]
tracing = ["dep:tracing"]
[lib]
name = "vcs_watch"
path = "src/lib.rs"
[[test]]
name = "watch"
path = "tests/watch.rs"
[dependencies.futures-core]
version = "0.3"
optional = true
[dependencies.notify]
version = "8"
[dependencies.tokio]
version = "1"
features = [
"sync",
"time",
"rt",
"macros",
]
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.vcs-core]
version = "0.3"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.processkit]
version = "0.8"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
"test-util",
]
[dev-dependencies.tokio-stream]
version = "0.1"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]