# 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.96"
name = "nidus-validation"
version = "1.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Validation pipes and JSON extractors for Nidus applications backed by garde."
homepage = "https://rustnidus.com/"
documentation = "https://docs.rs/nidus-validation"
readme = "README.md"
keywords = [
    "framework",
    "axum",
    "di",
    "http",
    "backend",
]
categories = [
    "web-programming::http-server",
    "asynchronous",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vicotrbb/nidus"
resolver = "2"

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

[[test]]
name = "validation"
path = "tests/validation.rs"

[dependencies.axum]
version = "0.8"

[dependencies.garde]
version = "0.23"
features = [
    "derive",
    "email",
]

[dependencies.http]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
]

[dev-dependencies.tower]
version = "0.5"
features = [
    "limit",
    "timeout",
    "util",
]
