rust_widgets 2.3.1

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 60+ widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT

//! Asset module - generic file watching utilities.
//!
//! Provides a predicate-based file watcher that can monitor any directory
//! for changes to files matching a user-supplied filter.
//!
//! # Reachability
//!
//! **State:** Reserved: the asset watcher is exercised only by its own tests; `CssWatcher` covers the one production hot-reload need. Removal condition: when a consumer needs asset invalidation, or when the tests are retired.

mod watcher;

pub use watcher::{AssetEvent, AssetWatcher};