Crates.io | solink-tokio-file-watch |
lib.rs | solink-tokio-file-watch |
version | 1.1.0 |
created_at | 2025-03-19 19:32:52.171578+00 |
updated_at | 2025-06-16 17:53:02.440833+00 |
description | A reusable file watcher |
homepage | https://github.com/SolinkCorp/rust-tokio-file-watch |
repository | https://github.com/SolinkCorp/rust-tokio-file-watch |
max_upload_size | |
id | 1598522 |
size | 42,345 |
Provides a library for watching a JSON file and reloading it when it changes.
Example:
let config_watch: JsonWatch<Config> = solink_tokio_file_watch::json_watch("./config.json").await?;