From 72dc8142d26a101e678fb8d79dbd4c6ea7987388 Mon Sep 17 00:00:00 2001 From: gengteng Date: Tue, 10 Oct 2023 18:25:23 +0800 Subject: [PATCH] Bump version to 0.10.1 --- CHANGELOG.md | 10 ++++++++++ Cargo.toml | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b68913..1669aa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ ### Fixed +## axum-valid 0.10.1 (2023-10-10) + +### Added + +### Changed + +* When enabling features starting with `extra_` like `extra_query`, the `extra` feature will now be automatically enabled. Previously, users had to manually enable both `extra` and `extra_*`. + +### Fixed + ## axum-valid 0.10.0 (2023-10-09) ### Added diff --git a/Cargo.toml b/Cargo.toml index 7ee45ae..f17aa13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axum-valid" -version = "0.10.0" +version = "0.10.1" description = "Provides validation extractors for your Axum application to validate data using validator, garde, or both." authors = ["GengTeng "] license = "MIT" @@ -76,16 +76,16 @@ json = ["axum/json"] form = ["axum/form"] query = ["axum/query"] typed_header = ["axum/headers"] -typed_multipart = ["axum_typed_multipart"] -msgpack = ["axum-msgpack"] -yaml = ["axum-yaml"] -into_json = ["json", "serde"] +typed_multipart = ["dep:axum_typed_multipart"] +msgpack = ["dep:axum-msgpack"] +yaml = ["dep:axum-yaml"] +into_json = ["json", "dep:serde"] 422 = [] -extra = ["axum-extra"] -extra_typed_path = ["axum-extra/typed-routing"] -extra_query = ["axum-extra/query"] -extra_form = ["axum-extra/form"] -extra_protobuf = ["axum-extra/protobuf"] +extra = ["dep:axum-extra"] +extra_typed_path = ["extra", "axum-extra/typed-routing"] +extra_query = ["extra", "axum-extra/query"] +extra_form = ["extra", "axum-extra/form"] +extra_protobuf = ["extra", "axum-extra/protobuf"] all_extra_types = ["extra", "extra_typed_path", "extra_query", "extra_form", "extra_protobuf"] all_types = ["json", "form", "query", "typed_header", "typed_multipart", "msgpack", "yaml", "all_extra_types"] full = ["validator", "all_types", "422", "into_json"]