Cargo Features
[dependencies]
axum-valid = { version = "0.21.0", default-features = false, features = ["full", "basic", "garde", "validator", "validify", "json", "form", "query", "typed_header", "msgpack", "yaml", "xml", "toml", "sonic", "cbor", "typed_multipart", "into_json", "422", "extra", "extra_typed_path", "extra_query", "extra_form", "extra_protobuf", "all_extra_types", "all_types", "full_validator", "full_garde", "full_validify", "aide"] }
- default = basic, validator
-
These default features are set whenever
axum-valid
is added without
somewhere in the dependency tree.default-features = false - full = full_garde, full_validator, full_validify
- basic default = form, json, query
- garde full_garde?
-
Enables garde
Affects
axum-valid::garde
… - validator default full_validator?
-
Enables validator
Affects
axum-valid::validator
… - validify full_validify?
-
Enables validify
Affects
axum-valid::validify
… - json all_types? basic into_json?
-
Affects
axum-valid::json
… - form all_types? basic
-
Affects
axum-valid::form
… - query all_types? basic
-
Affects
axum-valid::query
… - typed_header all_extra_types? = extra
-
Enables typed-header of axum-extra
Affects
axum-valid::typed_header
… - msgpack all_types?
-
Enables msgpack of axum-serde
Affects
axum-valid::msgpack
… - yaml all_types?
-
Enables yaml of axum-serde
Affects
axum-valid::yaml
… - xml all_types?
-
Enables xml of axum-serde
Affects
axum-valid::xml
… - toml all_types?
-
Enables toml of axum-serde
Affects
axum-valid::toml
… - sonic all_types?
-
Enables sonic of axum-serde
Affects
axum-valid::sonic
… - cbor all_types?
-
Enables cbor of axum-serde
Affects
axum-valid::cbor
… - typed_multipart all_types?
-
Enables axum_typed_multipart
Affects
axum-valid::typed_multipart
… - into_json full_garde? full_validator? full_validify? = json
-
Enables serde, serde of optional garde
Affects
test::check_json
,test::check_json
,test::check_json
… - 422 full_garde? full_validator? full_validify?
-
Affects
axum-valid::VALIDATION_ERROR_STATUS
… - extra all_extra_types? extra_form? extra_protobuf? extra_query? extra_typed_path? typed_header?
-
Enables axum-extra
Affects
axum-valid::extra
… - extra_typed_path all_extra_types? = extra
-
Enables typed-routing of axum-extra
Affects
extra::typed_path
… - extra_query all_extra_types? = extra
-
Enables query of axum-extra
Affects
extra::query
… - extra_form all_extra_types? = extra
-
Enables form of axum-extra
Affects
extra::form
… - extra_protobuf all_extra_types? = extra
-
Enables protobuf of axum-extra
Affects
extra::protobuf
… - all_extra_types all_types? = extra, extra_form, extra_protobuf, extra_query, extra_typed_path, typed_header
- all_types full_garde? full_validator? full_validify? = all_extra_types, cbor, form, json, msgpack, query, sonic, toml, typed_multipart, xml, yaml
- full_validator full? = 422, all_types, into_json, validator
- full_garde full? = 422, all_types, garde, into_json
- full_validify full? = 422, all_types, into_json, validify
- aide
-
Enables aide