Reloadify 🔁
Reloadify is a Rust library designed to facilitate automatic reloading of configuration files in applications. It simplifies the process of detecting changes in configuration files (such as JSON, TOML, XML, etc.) and automatically applying those changes without requiring application restarts.
Features ✨
- Automatic Reloading: Detects changes in configuration files and automatically reloads them.
- Supports Multiple Formats: Works with JSON, TOML, XML, and more.
- Easy Integration: Designed for seamless integration into Rust applications.
- Live Changes: Returns a configuration receiving channel. When the configuration changes, the caller will receive latest configuration.
Installation 🚀
To use Reloadify in your Rust project, simply add it to your Cargo.toml:
[]
= "0.1"
Minimum Supported Rust Version (MSRV): 1.85
Usage 🛠️
Here's a basic example demonstrating how to use Reloadify to automatically reload a JSON configuration file:
use ;
use ;
use ;
const TS_CONFIG_ID: &str = "tsconfig";
Documentation 📚
For detailed usage instructions and API reference, see the documentation.
Contributing 🤝
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
Continuous Integration 🔄
This project uses GitHub Actions for CI/CD. The pipeline includes:
- Running tests on multiple platforms (Ubuntu, Windows, macOS)
- Testing against different Rust versions (stable, beta, nightly)
- Code formatting checks with
rustfmt - Linting with
clippy - Security audits with
cargo-audit - Documentation generation and deployment
License 📝
This project is licensed under the MIT License - see the LICENSE file for details.