RepositoryRust
NO

notify-rs/notify

🔭 Cross-platform filesystem notification library for Rust.

3.5ksao
313fork
64issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: filesystem-events

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: watcher

#1 Repository của tuần

5
TINIX TRENDING·Chủ đề: filesystem

#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.

RepositoryRust
tauri-apps/tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

113.4k
Dec 1, 2026
RepositoryRust
spacedriveapp/spacedrive

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.

39.6k
Nov 25, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

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...

♥0
157.6M
Jun 1, 2026
RepositoryRust
sharkdp/fd

A simple, fast and user-friendly alternative to 'find'

45.4k
Dec 2, 2026
RepositoryTypeScript
paulmillr/chokidar

Minimal and efficient cross-platform file watching library

12.3k
Nov 30, 2026
RepositoryC++
react/react-native

A framework for building native applications using React

127.0k
Nov 27, 2026
RepositoryTypeScript
ChatGPTNextWeb/NextChat

✨ 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.

89.0k
Oct 20, 2026
RepositoryDart
Solido/awesome-flutter

An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.

62.1k
Sep 3, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026