Cargo Features

[dependencies]
axum-test = { version = "18.4.1", default-features = false, features = ["all", "pretty-assertions", "yaml", "msgpack", "reqwest", "shuttle", "typed-routing", "ws", "old-json-diff"] }
default = pretty-assertions

The pretty-assertions feature is set by default whenever axum-test is added without default-features = false somewhere in the dependency tree.

all = msgpack, pretty-assertions, reqwest, shuttle, typed-routing, ws, yaml
pretty-assertions default all?

Enables pretty_assertions

Pretty Assertions

yaml all?

Enables serde_yaml

Yaml

msgpack all?

Enables rmp-serde

MsgPack

reqwest all?

Enables reqwest

Reqwest

shuttle all?

Enables shuttle-axum

Shuttle

typed-routing all?

Enables axum-extra

Typed Routing

ws all?

Enables base64 and futures-util, ws of axum, time of tokio and tokio-tungstenite and uuid

uuid:

WebSockets

old-json-diff

Deprecated, and will be removed in the future.

Enables assert-json-diff

Old Json Diff