[package]
name = "apollo-errors"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
description = "Structured error handling with automatic format conversion"
categories = ["rust-patterns", "web-programming"]
keywords = ["apollo-platform", "error", "error-handling", "derive"]
version = "0.7.0"
[dependencies]
apollo-errors-derive = { workspace = true }
http = { workspace = true }
linkme = { workspace = true }
miette = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tower = { version = "0.5", optional = true }
http-body = { version = "1.0", optional = true }
http-body-util = { version = "0.1", optional = true }
bytes = { version = "1.0", optional = true }
pin-project-lite = { version = "0.2", optional = true }
simple-mermaid = { version = "0.2.0", optional = true }
[dev-dependencies]
insta = { workspace = true }
tokio = { version = "1.0", features = ["rt", "macros"] }
http-body = "1.0"
http-body-util = "0.1"
bytes = "1.0"
tower = { version = "0.5", features = ["util"] }
tower-test = { workspace = true }
[features]
default = []
tower = ["dep:tower", "dep:http-body", "dep:http-body-util", "dep:bytes", "dep:pin-project-lite"]
[lib]
proc-macro = false