Cargo Features

[dependencies]
axum_garde = { version = "0.21.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 ^0.7

query default

Enables query of axum ^0.7

form default

Enables form of axum ^0.7

axum-extra-protobuf

Axum extra

Enables protobuf of axum-extra ^0.9

axum-extra-query

Enables query of axum-extra ^0.9

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?

Enables axum-extra ^0.9

axum-yaml implicit feature

Enables axum-yaml ^0.4

axum-yaml:

YAML extractor for axum

axum-msgpack implicit feature

Enables axum-msgpack ^0.4

axum-msgpack:

serialize/derserialize msgpack for axum