# 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 = "2021"
name = "rok-validate"
version = "0.1.0"
authors = ["ateeq1999"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Request validation for the rok ecosystem — validate!() macro, #[derive(Validate)], Valid<T> extractor"
homepage = "https://github.com/ateeq1999/axum-rok-http"
readme = "README.md"
keywords = [
    "validation",
    "axum",
    "web",
    "rok",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/ateeq1999/axum-rok-http"

[features]
axum = ["dep:axum"]
i18n = ["dep:rok-i18n"]

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

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

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.rok-i18n]
version = "0.1"
optional = true

[dependencies.rok-validate-macros]
version = "0.1.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.rok-orm-core]
version = "0.1"
