[package]
name = "sd-fs-watcher"
version = "0.1.0"

authors = ["Spacedrive Technology Inc. <engineering@spacedrive.com>"]
description = """
Platform-agnostic filesystem watcher that emits normalized events.
Handles platform-specific quirks like macOS rename detection and event buffering.
"""

edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[features]
default = []
# Enable detailed debug logging
debug = []

[dependencies]
# Workspace dependencies
async-trait = { workspace = true }
futures = { workspace = true }
serde = { workspace = true, features = ["derive"] }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["sync", "time", "rt", "macros", "fs"] }
tracing = { workspace = true }

# External dependencies
notify = "8.0.0"

# Platform-specific dependencies
[target.'cfg(target_os = "macos")'.dependencies]
libc = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
tracing-subscriber = { workspace = true }
tracing-test = { workspace = true }


