# 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 = "standard-error"
version = "0.1.7"
authors = ["ashupednekar <ashupednekar49@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "simplifies returning meaningful errors for axum services"
readme = "README.md"
license = "MIT"

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

[dependencies.axum]
version = "0.7.5"
features = [
    "multipart",
    "ws",
]

[dependencies.config]
version = "0.14.0"

[dependencies.diesel]
version = "2.2.4"
features = ["extras"]
optional = true
default-features = false

[dependencies.env_logger]
version = "0.11.5"

[dependencies.git2]
version = "0.18.2"
optional = true

[dependencies.hyper]
version = "1.4.1"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.log]
version = "0.4.22"

[dependencies.r2d2_postgres]
version = "0.18.1"
optional = true

[dependencies.reqwest]
version = "0.12.7"
optional = true

[dependencies.serde]
version = "1.0.208"

[dependencies.serde_json]
version = "1.0.125"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sqlx]
version = "0.8.3"
features = ["postgres"]
optional = true

[dependencies.thiserror]
version = "1.0.63"

[dependencies.tokio]
version = "1.39.2"
features = ["test-util"]

[dependencies.validator]
version = "0.18.1"
optional = true

[features]
diesel = [
    "dep:diesel",
    "dep:r2d2_postgres",
]
git = ["dep:git2"]
reqwest = ["dep:reqwest"]
sqlx = ["dep:sqlx"]
validator = ["dep:validator"]