Cargo Features

[dependencies]
axum_garde = { version = "0.20.0", default-features = false, features = ["json", "query", "form", "axum-extra-protobuf", "axum-extra-query", "axum-yaml", "axum-msgpack"] }
default = form, json, query

These default features are set whenever axum_garde is added without default-features = false somewhere in the dependency tree.

json default

Axum

Enables json of axum

query default

Enables query of axum

form default

Enables form of axum

axum-extra-protobuf

Axum extra

Enables protobuf of axum-extra

axum-extra-query

Enables query of axum-extra

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

axum-extra axum-extra-protobuf? axum-extra-query?
axum-yaml implicit feature

Enables axum-yaml

axum-yaml:

YAML extractor for axum

axum-msgpack implicit feature

Enables axum-msgpack

axum-msgpack:

serialize/derserialize msgpack for axum