axum-api-kit 0.7.0

Shared response types for Axum JSON APIs: ApiError, ListResponse, and HealthResponse
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 = "2021"
rust-version = "1.75"
name = "axum-api-kit"
version = "0.7.0"
authors = ["Rod Mendoza <rodmendoza07@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared response types for Axum JSON APIs: ApiError, ListResponse, and HealthResponse"
homepage = "https://github.com/rodmen07/axum-api-kit"
documentation = "https://docs.rs/axum-api-kit"
readme = "README.md"
keywords = [
    "axum",
    "api",
    "rest",
    "response",
    "http",
]
categories = [
    "web-programming::http-server",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/rodmen07/axum-api-kit"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
extract = ["axum/query"]
sqlx = ["dep:sqlx"]
validator = [
    "dep:validator",
    "validator/derive",
]

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

[dependencies.axum]
version = "0.8"
features = ["json"]
default-features = false

[dependencies.http]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
optional = true
default-features = false

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

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