error-battery-pack 0.6.4

Error handling done well — anyhow for apps, thiserror for libraries
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"
name = "error-battery-pack"
version = "0.6.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Error handling done well — anyhow for apps, thiserror for libraries"
readme = "README.md"
keywords = [
    "battery-pack",
    "error-handling",
    "anyhow",
    "thiserror",
    "symposium",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/battery-pack-rs/battery-pack"
resolver = "2"

[package.metadata.battery-pack]
hidden = ["battery-pack"]

[features]
default = [
    "anyhow",
    "thiserror",
]

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

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

[[example]]
name = "context-chain"
path = "examples/context-chain.rs"

[[example]]
name = "custom-errors"
path = "examples/custom-errors.rs"

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"
optional = true

[dev-dependencies.battery-pack]
version = "0.5"
features = ["cli"]

[build-dependencies.battery-pack]
version = "0.5"
features = ["build"]