error-envelope 0.2.2

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

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
http = "1.0"

# Optional framework integrations
axum = { version = "0.7", optional = true }
anyhow = { version = "1.0", optional = true }

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
axum = "0.7"
anyhow = "1.0"

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