cfg_watcher

Crates.iocfg_watcher
lib.rscfg_watcher
version0.1.1
created_at2025-12-05 08:05:01.890276+00
updated_at2025-12-05 08:26:12.471844+00
descriptionConfiguration watcher wrapper with tokio async
homepage
repositoryhttps://github.com/josexy/cfg_watcher
max_upload_size
id1967838
size34,968
joxrays (josexy)

documentation

README

cfg_watcher

A Rust library for watching configuration files and reloading them automatically when changes are detected. Built with Tokio+config-rs+notify-rs.

Features

  • Asynchronous configuration file change watching
  • Handles edge cases like K8S ConfigMap replacements(refer Go viper)

Installation

Add this to your Cargo.toml:

[dependencies]
cfg_watcher = "0.1.0"

Usage

See examples

License

MIT

Commit count: 0

cargo fmt