#watch #events #notify

notify-types

Types used by the notify crate

3 stable releases

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

#1340 in Filesystem

Download history 33706/week @ 2024-12-14 23012/week @ 2024-12-21 27970/week @ 2024-12-28 46654/week @ 2025-01-04 75082/week @ 2025-01-11 60207/week @ 2025-01-18 75792/week @ 2025-01-25 90094/week @ 2025-02-01 97266/week @ 2025-02-08 96609/week @ 2025-02-15 110874/week @ 2025-02-22 112680/week @ 2025-03-01 120387/week @ 2025-03-08 125515/week @ 2025-03-15 119466/week @ 2025-03-22 108316/week @ 2025-03-29

493,117 downloads per month
Used in 321 crates (4 directly)

MIT/Apache

36KB
465 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!)

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–300KB