[package]
edition = "2024"
name = "error-engine"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A message catalog + presentation layer on top of thiserror and tracing for consistent error/warning/info rendering."
readme = "README.md"
keywords = [
"error-handling",
"diagnostics",
"catalog",
"thiserror",
"tracing",
]
categories = [
"development-tools",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/naut54/error-engine"
[features]
cli = ["owo-colors"]
default = []
[lib]
name = "error_engine"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "cli"
path = "examples/cli.rs"
required-features = ["cli"]
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[dependencies.owo-colors]
version = "4"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "1"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]