#macos-api #notifications #fsevents #bindings #file #cf #file-api

fsevent

Rust bindings to the fsevent-sys macOS API for file changes notifications

29 releases (8 stable)

2.3.0 Nov 17, 2025
2.1.2 Jan 5, 2022
2.1.1 May 19, 2021
2.0.2 Jun 4, 2020
0.2.6 Mar 23, 2015

#17 in macOS and iOS APIs

Download history 16748/week @ 2025-08-27 15639/week @ 2025-09-03 17606/week @ 2025-09-10 24862/week @ 2025-09-17 38875/week @ 2025-09-24 21285/week @ 2025-10-01 17136/week @ 2025-10-08 21072/week @ 2025-10-15 17900/week @ 2025-10-22 23171/week @ 2025-10-29 22394/week @ 2025-11-05 18005/week @ 2025-11-12 25167/week @ 2025-11-19 31349/week @ 2025-11-26 23862/week @ 2025-12-03 17537/week @ 2025-12-10

100,610 downloads per month
Used in 394 crates (6 directly)

MIT license

17KB
313 lines

FSEvent API for Rust

Original Author:

Installation

In cargo.toml

fsevent = "*"

Usage

cf examples/ folder.

Contributing

Contributions are welcome! Here's how you can help:

Reporting Issues

If you find a bug or have a feature request, please open an issue on GitHub with:

  • A clear description of the problem or suggestion
  • Steps to reproduce (for bugs)
  • Expected vs actual behavior
  • Your environment details (OS version, Rust version)

Pull Requests

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests: cargo test
  5. Run clippy: cargo clippy
  6. Format your code: cargo fmt
  7. Commit your changes (git commit -m 'Add some amazing feature')
  8. Push to your branch (git push origin feature/amazing-feature)
  9. Open a Pull Request

Please ensure:

  • All tests pass
  • Code follows Rust style guidelines (enforced by rustfmt)
  • New features include tests
  • Documentation is updated if needed

Contributors

Dependencies

~2.5MB
~49K SLoC