[package]
name = "turborepo-filewatch"
version = "0.1.0"
edition = { workspace = true }
license = "MIT"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lints]
workspace = true

[dependencies]
futures = { version = "0.3.26" }
notify = { workspace = true }
num_cpus = { workspace = true }
radix_trie = { workspace = true }
thiserror = "1.0.38"
tokio = { workspace = true, features = ["full", "time"] }
tracing = "0.1.37"
turbopath = { workspace = true }
turborepo-repository = { version = "0.1.0", path = "../turborepo-repository" }
turborepo-scm = { workspace = true, features = ["git2"] }
walkdir = "2.3.3"
wax = { workspace = true }

[target."cfg(target_os=\"macos\")".dependencies.fsevent-sys]
optional = true
version = "4"

[dependencies.bitflags]
version = "1.0.4"

[dependencies.libc]
version = "0.2.4"

[dev-dependencies]
git2 = { workspace = true, default-features = false }
tempfile = { workspace = true }
tokio-scoped = "0.2.0"
tracing-test = "0.2.4"

[features]
default = ["macos_fsevent"]
macos_fsevent = ["fsevent-sys"]
manual_recursive_watch = []
watch_ancestors = []
