From aec574b7685da660a9e900903766b90e6b1965d3 Mon Sep 17 00:00:00 2001 From: gengteng Date: Tue, 6 Jun 2023 13:45:04 +0800 Subject: [PATCH] fix README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 45c7cfa..7712fc1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # axum-valid -The Valid crate provides a `Valid` type that can be used in combination with `Json`, `Path`, `Query`, and `Form` types to validate the entities that implement the `Validate` trait. +This crate provides a `Valid` type that can be used in combination with `Json`, `Path`, `Query`, and `Form` types to validate the entities that implement the `Validate` trait. ## Usage @@ -9,7 +9,6 @@ use validator::Validate; use serde::Deserialize; #[derive(Debug, Validate, Deserialize)] -#[serde(rename_all = "camelCase")] pub struct Pager { #[validate(range(min = 1, max = 50))] pub page_size: usize,