#filesystem-events #watch #events

brk-notify

Cross-platform filesystem notification library

2 stable releases

8.2.1 Sep 28, 2025

#1553 in Filesystem

Download history 45/week @ 2025-10-09 66/week @ 2025-10-16 43/week @ 2025-10-23 21/week @ 2025-10-30 12/week @ 2025-11-06 22/week @ 2025-11-13 9/week @ 2025-11-20 20/week @ 2025-11-27 21/week @ 2025-12-04 10/week @ 2025-12-11 19/week @ 2025-12-18 8/week @ 2025-12-25 16/week @ 2026-01-01 14/week @ 2026-01-08 11/week @ 2026-01-15 38/week @ 2026-01-22

79 downloads per month
Used in 6 crates (via brk-notify-debouncer-full)

CC0 license

195KB
3.5K SLoC

Notify

» Crate » Docs » CI » Downloads » Conduct » Public Domain

Cross-platform filesystem notification library for Rust.

As used by: alacritty, cargo watch, cobalt, deno, docket, mdBook, rust-analyzer, watchexec, watchfiles, xi-editor, and others.

(Looking for desktop notifications instead? Have a look at notify-rust or alert-after!)

Platforms

  • Linux / Android: inotify
  • macOS: FSEvents or kqueue, see features
  • Windows: ReadDirectoryChangesW
  • iOS / FreeBSD / NetBSD / OpenBSD / DragonflyBSD: kqueue
  • All platforms: polling

License

notify is licensed under the CC Zero 1.0.
notify-types is licensed under the MIT or Apache-2.0 license.
notify-debouncer-mini is licensed under the MIT or Apache-2.0 license.
notify-debouncer-full is licensed under the MIT or Apache-2.0 license.
file-id is licensed under the MIT or Apache-2.0 license.

Origins

Inspired by Go's fsnotify and Node.js's Chokidar, born out of need for cargo watch, and general frustration at the non-existence of C/Rust cross-platform notify libraries.

Originally created by Félix Saparelli and awesome contributors.

Dependencies

~0.1–11MB
~67K SLoC