notify-rs/notify
🔭 Cross-platform filesystem notification library for Rust.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#5 Repository của tuần
🔭 notify — Theo dõi thay đổi tệp tin đa nền tảng cho Rust
Cross-platform filesystem notification library for Rust — dùng inotify trên Linux, FSEvents trên macOS, ReadDirectoryChangesW trên Windows, kqueue trên BSD/macOS, polling trên mọi nền tảng.
notify là một thư viện Rust cung cấp cơ chế theo dõi sự kiện hệ thệ thống tệp (file system events) trên nhiều nền tảng khác nhau. Được lấy cảm hứng từ fsnotify (Go) và Chokidar (Node.js), ban đầu phát triển cho cargo watch. notify được sử dụng rộng rãi bởi các dự án như rust-analyzer, Zed, Deno, mdBook, watchexec, watchfiles...
✨ Điểm nổi bật
- Đa nền tảng: hỗ trợ Linux (inotify), macOS (FSEvents/kqueue), Windows (ReadDirectoryChangesW), iOS/BSD (kqueue), polling chung
- Giấy phép CC0-1.0: toàn bộ mã nguồn thuộc phạm vi công cộng
- MSRV 1.88: hỗ trợ Rust ổn định hiện tại và hai phiên bản trước
- Dùng bởi hàng trăm dự án: cargo watch, rust-analyzer, Zed, Deno, mdBook...
- Cơ chế polling dự phòng: dùng khi nền tảng không hỗ trợ native watcher
- Cấu trúc mô-đun: notify-types, notify-debouncer-mini, notify-debouncer-full, file-id
💡 Vì sao đáng chú ý
notify không chỉ là một wrapper đơn giản — nó lựa chọn cơ chế theo dõi tối ưu nhất cho từng nền tảng, kết hợp giữa hiệu năng native và khả năng tương thích dự phòng. Điều này giúp các công cụ như rust-analyzer hay Zed theo dõi thay đổi mã nguồn ngay lập tức mà không cần polling liên tục.
Thích hợp cho bất kỳ ứng dụng Rust nào cần phản ứng với thay đổi tệp tin — từ trình soạn thảo mã, công cụ build, đến hệ thống giám sát.
#Rust #FileSystemEvents #CrossPlatform #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io