human-errors 0.2.4

An error library focused on providing your users with relevant advice for any problem.
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 = "human-errors"
version = "0.2.4"
authors = ["Benjamin Pannell <benjamin@pannell.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An error library focused on providing your users with relevant advice for any problem."
homepage = "https://sierrasoftworks.com/projects/human-errors"
readme = "README.md"
keywords = ["errors"]
categories = [
    "accessibility",
    "command-line-interface",
]
license = "MIT"
repository = "https://github.com/SierraSoftworks/human-errors-rs"

[features]
backtraces = []
default = []
force_backtraces = ["backtraces"]
pretty = [
    "dep:cli-boxes",
    "dep:colored",
    "dep:textwrap",
]
serde = ["dep:serde"]

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

[[example]]
name = "backtraces"
path = "examples/backtraces.rs"
required-features = [
    "pretty",
    "force_backtraces",
]

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

[[example]]
name = "pretty"
path = "examples/pretty.rs"
required-features = ["pretty"]

[dependencies.cli-boxes]
version = "0.1"
optional = true

[dependencies.colored]
version = "3.0"
optional = true

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.textwrap]
version = "0.16.2"
optional = true