reportify 0.2.2

Typed error reports with structured diagnostic context, causes and contributing factors, configurable rendering, and panic capture.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.91"
name = "reportify"
version = "0.2.2"
authors = ["Silitics GmbH <info@silitics.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed error reports with structured diagnostic context, causes and contributing factors, configurable rendering, and panic capture."
homepage = "https://github.com/silitics/si-rust-libs/"
readme = "README.md"
keywords = [
    "error",
    "diagnostics",
    "reporting",
    "observability",
    "panic",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/silitics/si-rust-libs/"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
backtrace = ["dep:backtrace"]
color = ["dep:console"]
default = [
    "backtrace",
    "color",
    "spantrace",
]
serde = ["dep:serde"]
spantrace = ["dep:tracing-error"]

[lib]
name = "reportify"
path = "src/lib.rs"

[[example]]
name = "config"
path = "examples/config.rs"

[dependencies.backtrace]
version = "0.3.76"
optional = true

[dependencies.console]
version = "0.16.4"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-error]
version = "0.2.1"
optional = true

[dev-dependencies.serde_json]
version = "1.0.150"

[dev-dependencies.thiserror]
version = "2.0.18"

[lints.clippy]
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1