#events #notify #watch

notify-types-fork

Types used by the notify crate

1 stable release

1.0.0 Aug 15, 2024

#59 in #watch

Download history 1859/week @ 2024-09-11 1847/week @ 2024-09-18 1895/week @ 2024-09-25 1610/week @ 2024-10-02 1643/week @ 2024-10-09 1585/week @ 2024-10-16 1494/week @ 2024-10-23 971/week @ 2024-10-30 825/week @ 2024-11-06 682/week @ 2024-11-13 769/week @ 2024-11-20 764/week @ 2024-11-27 572/week @ 2024-12-04 217/week @ 2024-12-11 20/week @ 2024-12-18 8/week @ 2024-12-25

928 downloads per month
Used in notify-fork

MIT/Apache

36KB
468 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-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

~190KB