[package]
edition = "2021"
rust-version = "1.77"
name = "error-path"
version = "0.1.0"
authors = ["용사장 <akira76@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Attach stable, structured error paths to Result-based Rust errors with lightweight adapters."
homepage = "https://github.com/yongaru/error-path-kit"
documentation = "https://docs.rs/error-path"
readme = "README.md"
keywords = [
"error",
"context",
"path",
"macro",
"tracing",
]
categories = [
"rust-patterns",
"development-tools::debugging",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yongaru/error-path-kit"
[features]
anyhow = ["dep:anyhow"]
default = []
error-stack = ["dep:error-stack"]
eyre = ["dep:eyre"]
full = [
"anyhow",
"eyre",
"error-stack",
"stacked-errors",
"macros",
]
macros = ["dep:error-path-macros"]
stacked-errors = ["dep:stacked_errors"]
[lib]
name = "error_path"
path = "src/lib.rs"
[[test]]
name = "error_path"
path = "tests/error_path.rs"
[[test]]
name = "path_delimiter"
path = "tests/path_delimiter.rs"
[[test]]
name = "path_delimiter_default"
path = "tests/path_delimiter_default.rs"
[dependencies.anyhow]
version = "1"
optional = true
[dependencies.error-path-macros]
version = "0.1.0"
optional = true
[dependencies.error-stack]
version = "0.5"
optional = true
[dependencies.eyre]
version = "0.6"
optional = true
[dependencies.stacked_errors]
version = "=0.5.1"
optional = true