diff options
| author | Vincent Prouillet | 2020-06-09 21:39:53 +0200 |
|---|---|---|
| committer | Vincent Prouillet | 2020-06-09 21:39:53 +0200 |
| commit | 709a78d1b6d749b8fb6bda98d3859e6502b449dc (patch) | |
| tree | 81f4e4652c7a74e5717d2057ccf0929d54e31d40 /README.md | |
| parent | a03d18b4c46cfe4121fc24073109e76d137f77b7 (diff) | |
| download | validator-709a78d1b6d749b8fb6bda98d3859e6502b449dc.tar.bz2 | |
Update readme + deps
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -109,7 +109,9 @@ struct SignupData { #[validate] contact_details: ContactDetails, #[validate] - preferences: Vec<Preference> + preferences: Vec<Preference>, + #[validate(required)] + allow_cookies: Option<bool>, } #[derive(Debug, Validate, Deserialize)] @@ -344,6 +346,11 @@ For example, the following attributes all work: ### validator +#### 0.10.1 (2020/06/09) + +- Add a blanket Validate implementation for references +- Add `Required` and `RequiredNested` validators + #### 0.10.0 (2019/10/18) - Add `non_control_characters` validation @@ -379,6 +386,9 @@ For example, the following attributes all work: ### validator_derive +#### 0.10.1 (2020/06/09) + +- Handle `Required` and `RequiredNested` validators #### 0.10.0 (2019/10/18) |
