diff --git a/README.md b/README.md index 7712fc1..907ed64 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ This crate provides a `Valid` type that can be used in combination with `Json`, ## Usage +```shell +cargo add axum-valid +``` + ```rust use validator::Validate; use serde::Deserialize; @@ -29,4 +33,4 @@ pub async fn get_page_by_json( assert!((1..=50).contains(&pager.page_size)); assert!((1..).contains(&pager.page_no)); } -``` \ No newline at end of file +```