errs 0.8.2

A library for handling errors with reasons
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 = "2021"
rust-version = "1.80.1"
name = "errs"
version = "0.8.2"
authors = ["Takayuki Sato <sttk.xslet@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for handling errors with reasons"
documentation = "https://docs.rs/errs"
readme = "README.md"
keywords = [
    "error",
    "error-handling",
    "reason",
    "notify",
    "notification",
]
categories = ["rust-patterns"]
license = "MIT"
repository = "https://github.com/sttk/errs-rust"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
full = [
    "notify",
    "notify-tokio",
]
notify = [
    "setup_read_cleanup/graceful",
    "dep:chrono",
    "dep:inventory",
]
notify-tokio = [
    "setup_read_cleanup/graceful",
    "dep:chrono",
    "dep:tokio",
    "dep:inventory",
]

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

[[test]]
name = "errs_test"
path = "tests/errs_test.rs"

[[test]]
name = "global_handler_registeration_on_std_rt_test"
path = "tests/global_handler_registeration_on_std_rt_test.rs"

[[test]]
name = "global_handler_registeration_on_tokio_rt_test"
path = "tests/global_handler_registeration_on_tokio_rt_test.rs"

[[test]]
name = "sync_handler_registration_order_test"
path = "tests/sync_handler_registration_order_test.rs"

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.inventory]
version = "0.3"
optional = true

[dependencies.setup_read_cleanup]
version = "0.8"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]
optional = true

[dev-dependencies.trybuild]
version = "1"