[package]
edition = "2021"
name = "thiserror-ext"
version = "0.4.0-alpha"
authors = ["Bugen Zhao <i@bugenzhao.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Useful extension utilities for `thiserror`."
readme = "README.md"
keywords = [
"error",
"error-handling",
"derive",
]
categories = ["rust-patterns"]
license = "Apache-2.0"
repository = "https://github.com/risingwavelabs/thiserror-ext"
[features]
default = ["std"]
nightly = [
"std",
"thiserror-ext-derive/nightly",
]
std = []
[lib]
name = "thiserror_ext"
path = "src/lib.rs"
[[example]]
name = "context"
path = "examples/context.rs"
[[test]]
name = "arc_new_type"
path = "tests/arc_new_type.rs"
[[test]]
name = "backtrace"
path = "tests/backtrace.rs"
[[test]]
name = "backtrace_stable"
path = "tests/backtrace_stable.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "context_into"
path = "tests/context_into.rs"
[[test]]
name = "extra_provide"
path = "tests/extra_provide.rs"
[[test]]
name = "macro"
path = "tests/macro.rs"
[[test]]
name = "macro_anyhow"
path = "tests/macro_anyhow.rs"
[[test]]
name = "report"
path = "tests/report.rs"
[[test]]
name = "report_debug"
path = "tests/report_debug.rs"
[[test]]
name = "v2"
path = "tests/v2.rs"
[dependencies.thiserror-ext-derive]
version = "=0.4.0-alpha"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.expect-test]
version = "1"
[dev-dependencies.sealed_test]
version = "1"
[dev-dependencies.thiserror]
version = "2"