Cargo Features

valust-axum has no features set by default.

[dependencies]
valust-axum = { version = "0.8.0", features = ["json", "form", "sonic", "yaml", "xml", "msgpack", "cbor", "toml", "ron"] }
json

Enables json of axum

Affects extractor::json

form

Enables form of axum

Affects extractor::form

sonic = sonic-rs

Affects extractor::sonic

yaml = serde_yaml

Affects extractor::yaml

xml = quick-xml

Affects extractor::xml

msgpack = rmp-serde

Affects extractor::msgpack

cbor = ciborium

Affects extractor::cbor

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.

sonic-rs sonic?
serde_yaml yaml?
toml implicit feature

Affects extractor::toml

quick-xml xml?
rmp-serde msgpack?
ciborium cbor?
ron implicit feature

Enables ron

ron:

Rusty Object Notation

Affects extractor::ron