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
somewhere in the dependency tree.default-features = false - json default
-
Axum
- query default
- form default
- 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