rustforms 1.0.1

Universal form validation compatible with json and hashmap input types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# rustforms

A lightweight Rust crate for validating form input using JSON and HashMap mappings. Designed for extensibility, clarity, and real-world use cases.

## Features

- Validate fields with built-in rules: `Required`, `MinLength`, `MaxLength`, `Email`, `Range`, `Regex`
- Convert `serde_json::Value` into `HashMap<String, String>` for easy validation
- Customize error messages using an optional translation map
- Fully tested with unit and integration tests

## Installation

```bash
cargo add rustforms