[dependencies.anyhow]
version = "1.0"
[dependencies.assert-json-diff]
version = "2.0"
[dependencies.auto-future]
version = "1.0"
[dependencies.axum]
features = []
version = "0.7.7"
[dependencies.axum-extra]
features = ["typed-routing"]
optional = true
version = "0.9"
[dependencies.base64]
optional = true
version = "0.22"
[dependencies.bytes]
version = "1.8"
[dependencies.bytesize]
version = "1.3.0"
[dependencies.cookie]
version = "0.18"
[dependencies.futures-util]
optional = true
version = "0.3"
[dependencies.http]
version = "1.1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
features = ["http1"]
version = "1.5"
[dependencies.hyper-util]
features = ["client", "http1", "client-legacy"]
version = "0.1"
[dependencies.mime]
version = "0.3"
[dependencies.pretty_assertions]
optional = true
version = "1.4"
[dependencies.reqwest]
features = ["cookies", "json", "stream", "multipart", "rustls-tls"]
optional = true
version = "0.12"
[dependencies.reserve-port]
version = "2.0"
[dependencies.rmp-serde]
optional = true
version = "1.3"
[dependencies.rust-multipart-rfc7578_2]
version = "0.6"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.serde_yaml]
optional = true
version = "0.9"
[dependencies.shuttle-axum]
optional = true
version = "0.49"
[dependencies.smallvec]
version = "1.13"
[dependencies.tokio]
features = ["rt"]
version = "1.41"
[dependencies.tokio-tungstenite]
optional = true
version = "0.24"
[dependencies.tower]
features = ["util", "make"]
version = "0.5"
[dependencies.url]
version = "2.5"
[dependencies.uuid]
features = ["v4"]
optional = true
version = "1.11"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.axum]
features = ["multipart", "tokio", "ws"]
version = "0.7"
[dev-dependencies.axum-extra]
features = ["cookie", "typed-routing", "query"]
version = "0.9"
[dev-dependencies.axum-msgpack]
version = "0.4"
[dev-dependencies.axum-yaml]
version = "0.4"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.local-ip-address]
version = "0.6"
[dev-dependencies.regex]
version = "1.11"
[dev-dependencies.serde-email]
features = ["serde"]
version = "3.1"
[dev-dependencies.shuttle-axum]
version = "0.49"
[dev-dependencies.shuttle-runtime]
version = "0.49"
[dev-dependencies.tokio]
features = ["rt", "rt-multi-thread", "sync", "time", "macros"]
version = "1.41"
[dev-dependencies.tower-http]
features = ["normalize-path"]
version = "0.6"
[[example]]
name = "example-shuttle"
path = "examples/example-shuttle/main.rs"
required-features = ["shuttle"]
[[example]]
name = "example-todo"
path = "examples/example-todo/main.rs"
[[example]]
name = "example-websocket-chat"
path = "examples/example-websocket-chat/main.rs"
required-features = ["ws"]
[[example]]
name = "example-websocket-ping-pong"
path = "examples/example-websocket-ping-pong/main.rs"
required-features = ["ws"]
[features]
all = ["pretty-assertions", "yaml", "msgpack", "reqwest", "shuttle", "typed-routing", "ws"]
default = ["pretty-assertions"]
msgpack = ["dep:rmp-serde"]
pretty-assertions = ["dep:pretty_assertions"]
reqwest = ["dep:reqwest"]
shuttle = ["dep:shuttle-axum"]
typed-routing = ["dep:axum-extra"]
ws = ["axum/ws", "tokio/time", "dep:uuid", "dep:base64", "dep:tokio-tungstenite", "dep:futures-util"]
yaml = ["dep:serde_yaml"]
[lib]
name = "axum_test"
path = "src/lib.rs"
[package]
authors = ["Joseph Lenton <josephlenton@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::http-server", "development-tools::testing"]
description = "For spinning up and testing Axum servers"
documentation = "https://docs.rs/axum-test"
edition = "2021"
keywords = ["testing", "test", "axum"]
license = "MIT"
name = "axum-test"
readme = "README.md"
repository = "https://github.com/JosephLenton/axum-test"
rust-version = "1.75"
version = "16.4.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]