[package]
name = "error-path"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
keywords.workspace = true
categories.workspace = true
description = "Attach stable, structured error paths to Result-based Rust errors with lightweight adapters."
readme = "README.md"
[features]
default = []
anyhow = ["dep:anyhow"]
eyre = ["dep:eyre"]
error-stack = ["dep:error-stack"]
stacked-errors = ["dep:stacked_errors"]
macros = ["dep:error-path-macros"]
full = ["anyhow", "eyre", "error-stack", "stacked-errors", "macros"]
[dependencies]
anyhow = { workspace = true, optional = true }
eyre = { workspace = true, optional = true }
error-stack = { workspace = true, optional = true }
stacked_errors = { workspace = true, optional = true }
error-path-macros = { path = "../error-path-macros", version = "0.1.0", optional = true }