[package]
edition = "2024"
name = "bigerror"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'handle big errors ¯\_(ツ)_/¯'
documentation = "https://docs.rs/bigerror"
readme = false
license = "MIT"
repository = "https://github.com/mkatychev/bigerror"
resolver = "2"
[package.metadata.docs.rs]
cargo-args = [
"-Zunstable-options",
"-Zrustdoc-scrape-examples",
]
[features]
anyhow = ["error-stack/anyhow"]
backtrace = ["error-stack/backtrace"]
default = [
"std",
"backtrace",
]
eyre = ["error-stack/eyre"]
futures = ["error-stack/futures"]
hooks = ["error-stack/hooks"]
serde = ["error-stack/serde"]
spantrace = ["error-stack/spantrace"]
std = [
"error-stack/std",
"derive_more/std",
"tracing?/std",
]
tracing = ["error-stack/tracing"]
unstable = ["error-stack/unstable"]
[lib]
name = "bigerror"
path = "src/lib.rs"
[dependencies.bigerror-derive]
version = "0.1.0"
[dependencies.derive_more]
version = "2"
features = [
"display",
"deref",
]
default-features = false
[dependencies.error-stack]
version = "0.7.0"
default-features = false
[dependencies.tracing]
version = "0.1"
features = ["attributes"]
optional = true
[lints.clippy]
uninlined_format_args = "deny"
unnecessary_mut_passed = "deny"
unused_async = "deny"