nidus-http 1.0.3

Axum and Tower HTTP integration, controllers, middleware, health, metrics, and server defaults for Nidus.
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.96"
name = "nidus-http"
version = "1.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Axum and Tower HTTP integration, controllers, middleware, health, metrics, and server defaults for Nidus."
homepage = "https://rustnidus.com/"
documentation = "https://docs.rs/nidus-http"
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"

[features]
default = []
otel = []

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

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

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

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.nidus-core]
version = "1.0.3"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["formatting"]

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

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

[dependencies.tower-http]
version = "0.6"
features = [
    "compression-gzip",
    "cors",
    "limit",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]

[dependencies.uuid]
version = "1"
features = ["v4"]

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

[dev-dependencies.tracing-core]
version = "0.1"