iron_valid
Overview
iron_valid is a form validation library for iron that integrates with the params crate. It is based on Laravel's validation, and works in a similar way.
If you encounter an issue, please report it via the GitHub issues tab. Include as many details as possible.
Usage
An example of using iron_valid to validate a form request is as follows:
use *;
use status;
use ;
use ;
use BTreeMap;
This example would parse the request parameters using the params crate, then validate the email
and password
fields from the request using the specified rules for each.
Full documentation, along with a list of validation rules, is available here.
iron_valid follows Semantic Versioning.
Contributing
Any contributions are welcome and will be accepted via pull request on GitHub. Bug reports can be filed via GitHub issues. If you have the capability to submit a fix with the bug report, it is preferred that you do so via pull request, however you do not need to be a Rust programmer to contribute. Other contributions (such as improving documentation or translations) are also welcome via GitHub.
License
iron_valid is open-source software, distributed under the MIT license.