purwa-testing 0.2.0

HTTP and optional Postgres test helpers for Purwa apps
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "purwa-testing"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP and optional Postgres test helpers for Purwa apps"
documentation = "https://docs.rs/purwa-testing"
readme = "README.md"
keywords = [
    "purwa",
    "testing",
    "axum",
    "http",
]
categories = [
    "development-tools",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/sangkan-dev/purwa"
resolver = "2"

[features]
default = []
postgres = [
    "dep:purwa-orm",
    "dep:sqlx",
    "dep:testcontainers",
    "dep:testcontainers-modules",
]

[lib]
name = "purwa_testing"
path = "src/lib.rs"

[dependencies.axum]
version = "0.8"

[dependencies.bytes]
version = "1"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.purwa-orm]
version = "0.2.0"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "postgres",
    "tls-rustls-ring",
]
optional = true
default-features = false

[dependencies.testcontainers]
version = "0.25.0"
optional = true

[dependencies.testcontainers-modules]
version = "0.13.0"
features = ["postgres"]
optional = true

[dependencies.tokio]
version = "1.52.1"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.tower]
version = "0.5.3"
features = ["util"]