rusty-whsp
A flexible and type-safe configuration parsing library for Rust command-line applications.
Table of Contents
Features
- 🚀 Easy-to-use API for defining configuration options
- 🔢 Support for string, number, and boolean option types
- 📚 Single and multiple value options
- ✅ Automatic input validation
- 🌍 Default value setting from environment variables
- 🔤 Short and long command-line option support
Installation
Add this to your Cargo.toml:
[]
= "0.1.7"
Quick Start
Here's a simple example to get you started:
use ;
use HashMap;
Documentation
For detailed documentation, please refer to the Documentation file.
Examples
Check out the examples directory for more usage examples.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by rusty-libraries