val-test

Crates.ioval-test
lib.rsval-test
version0.2.3
sourcesrc
created_at2021-10-19 12:20:13.373556
updated_at2021-10-20 12:53:24.539113
descriptiontest lib for crate
homepagehttps://github.com/ogtayhuseynov0/rust-test-validator
repositoryhttps://github.com/ogtayhuseynov0/rust-test-validator
max_upload_size
id467337
size13,163
Ogtay Huseynov (ogtayhuseynov0)

documentation

https://github.com/ogtayhuseynov0/rust-test-validator

README

rust-test-validator

It is validate with message, rules and ValidationResult

Example below:

let rules_hash: HashMap<&str, Vec> = rule_map![
"ros" => vec![Rules::In {value: "123,asd,123".to_string()}],
"ross" => vec![Rules::GreaterThan {field:"as".to_string()}]
];
Commit count: 15

cargo fmt