rojo/crates/memofs/Cargo.toml
Joe a727881e6f fix: platform-specific watcher for macOS FSEvents + Windows RDCW
macOS: raw notify with custom 50ms debounce thread. FSEvents provides
complete event kinds (Create/Remove/Modify) without needing a file
cache, avoiding the debouncer-full's Create+Remove cancellation bug.

Windows/Linux: notify-debouncer-full with RecommendedCache. RDCW needs
the file cache to detect cross-directory moves and renames. The cache
also handles RDCW's limited event granularity.

Both platforms share the same convert_event logic for mapping notify
EventKinds to VfsEvents.

All 489 tests passing locally (macOS).
2026-03-12 18:48:43 -05:00

28 lines
732 B
TOML

[package]
name = "memofs"
description = "Virtual filesystem with configurable backends."
version = "0.3.1"
authors = [
"Lucien Greathouse <me@lpghatguy.com>",
"Micah Reid <git@dekkonot.com>",
"Ken Loeffler <kenloef@gmail.com>",
]
edition = "2018"
readme = "README.md"
license = "MIT"
homepage = "https://github.com/UserGeneratedLLC/rojo/tree/master/memofs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
crossbeam-channel = "0.5.15"
fs-err = "3"
log = "0.4"
notify = "8.2"
serde = { version = "1.0.228", features = ["derive"] }
[target.'cfg(not(target_os = "macos"))'.dependencies]
notify-debouncer-full = "0.7"
[dev-dependencies]
tempfile = "3.26.0"