4 stable releases

2.1.0 Jan 25, 2026
2.0.0 Jan 10, 2025
1.0.1 Dec 17, 2024
1.0.0 Oct 25, 2024

#1279 in Filesystem

Download history 302447/week @ 2025-10-18 322938/week @ 2025-10-25 337067/week @ 2025-11-01 331521/week @ 2025-11-08 351387/week @ 2025-11-15 379936/week @ 2025-11-22 414394/week @ 2025-11-29 438450/week @ 2025-12-06 429108/week @ 2025-12-13 331584/week @ 2025-12-20 359801/week @ 2025-12-27 527015/week @ 2026-01-03 557697/week @ 2026-01-10 560070/week @ 2026-01-17 576763/week @ 2026-01-24 690846/week @ 2026-01-31

2,476,731 downloads per month
Used in 1,166 crates (7 directly)

MIT/Apache

52KB
674 lines

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!)

Minimum Supported Rust Version (MSRV) Policy

We follow these MSRV rules:

  • The current MSRV is 1.85.
  • MSRV bumps do NOT require a major release and may happen in minor releases.
  • The MSRV may be updated when needed, but support for the current stable Rust release and the previous two stable releases (N, N-1, N-2) is always guaranteed.
    • For example, if the current stable version is 1.85, we guarantee support for 1.85, 1.84, and 1.83, so the minimum supported Rust version will be at most 1.83.
  • MSRV is bumped only when needed, e.g.:
    • required by dependencies
    • any serious bug is found (including security-related)
    • adopting new stable Rust features
  • Every MSRV bump is documented in the release notes when it happens.

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

~59–390KB