error-envelope 0.3.0

Structured, consistent error responses for Rust APIs. Framework-agnostic with Axum support.
Documentation
[dependencies.anyhow]
optional = true
version = "1.0"

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

[dependencies.http]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.axum]
version = "0.7"

[dev-dependencies.tokio]
features = ["full"]
version = "1"

[dev-dependencies.uuid]
features = ["v4"]
version = "1.0"

[[example]]
name = "axum_server"
path = "examples/axum_server.rs"

[[example]]
name = "domain_errors"
path = "examples/domain_errors.rs"

[[example]]
name = "rate_limiting"
path = "examples/rate_limiting.rs"

[[example]]
name = "tracing"
path = "examples/tracing.rs"

[[example]]
name = "validation"
path = "examples/validation.rs"

[features]
anyhow-support = ["anyhow"]
axum-support = ["axum"]
default = []

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

[package]
authors = ["Dayna Blackwell <blackwellsystems@protonmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming", "api-bindings"]
description = "Structured, consistent error responses for Rust APIs. Framework-agnostic with Axum support."
documentation = "https://docs.rs/error-envelope"
edition = "2021"
homepage = "https://github.com/blackwell-systems/error-envelope"
keywords = ["error-handling", "http", "api", "axum", "web"]
license = "MIT"
name = "error-envelope"
readme = "README.md"
repository = "https://github.com/blackwell-systems/error-envelope"
rust-version = "1.70"
version = "0.3.0"