4 releases (2 breaking)
0.3.1 | Aug 21, 2023 |
---|---|
0.3.0 | Aug 20, 2023 |
0.2.0 | Jun 15, 2023 |
0.1.0 | May 17, 2023 |
#77 in Filesystem
114,395 downloads per month
Used in 51 crates
(18 directly)
225KB
4K
SLoC
Notify Debouncer Full
A debouncer for notify that is optimized for ease of use.
- Only emits a single
Rename
event if the renameFrom
andTo
events can be matched - Merges multiple
Rename
events - Takes
Rename
events into account and updates paths for events that occurred before the rename event, but which haven't been emitted, yet - Optionally keeps track of the file system IDs all files and stiches rename events together (FSevents, Windows)
- Emits only one
Remove
event when deleting a directory (inotify) - Doesn't emit duplicate create events
- Doesn't emit
Modify
events after aCreate
event
Features
-
crossbeam
enabled by default, for crossbeam channel support.This may create problems used in tokio environments. See #380.
Use someting like the following to disable it.notify-debouncer-full = { version = "*", default-features = false }
This also passes through to notify as
crossbeam-channel
feature.
Dependencies
~0.8–8.5MB
~63K SLoC