77 releases (stable)

8.2.0 Aug 3, 2025
8.1.0 Jul 3, 2025
8.0.0 Jan 10, 2025
7.0.0 Oct 25, 2024
0.0.1 Dec 20, 2014

#5 in Filesystem

Download history 788182/week @ 2025-09-23 733964/week @ 2025-09-30 732971/week @ 2025-10-07 746796/week @ 2025-10-14 802412/week @ 2025-10-21 840303/week @ 2025-10-28 844703/week @ 2025-11-04 829123/week @ 2025-11-11 946116/week @ 2025-11-18 706302/week @ 2025-11-25 914816/week @ 2025-12-02 1082608/week @ 2025-12-09 942091/week @ 2025-12-16 567687/week @ 2025-12-23 670373/week @ 2025-12-30 1124020/week @ 2026-01-06

3,486,953 downloads per month
Used in 2,493 crates (1,256 directly)

CC0 license

190KB
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
~65K SLoC