#log #flattened #watching #reloading

solink-tokio-file-watch

Log flattened JSON in tracing

2 stable releases

new 1.0.1 Mar 19, 2025

#2 in #flattened

Download history 173/week @ 2025-03-14

173 downloads per month

MIT license

13KB
218 lines

solink-tokio-file-watch

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?;

Dependencies

~4–17MB
~145K SLoC