uni_error 0.11.4

A simple, universal error type for Rust
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 = "uni_error"
version = "0.11.4"
authors = ["Scott Meeuwsen <smeeuwsen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple, universal error type for Rust"
documentation = "https://docs.rs/uni_error"
readme = "README.md"
keywords = [
    "error",
    "error-handling",
]
categories = [
    "rust-patterns",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nu11ptr/uni_error"

[package.metadata.docs.rs]
features = [
    "backtrace",
    "std",
]

[features]
axum_code = [
    "dep:axum",
    "dep:http",
]
axum_code2 = [
    "dep:axum",
    "dep:http",
]
backtrace = ["std"]
connect_code = ["dep:connectrpc"]
connect_code2 = ["dep:connectrpc"]
default = ["std"]
http_code = ["dep:http"]
http_code2 = ["dep:http"]
std = []
tonic_code = ["dep:tonic"]
tonic_code2 = ["dep:tonic"]

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

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

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

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

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

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

[dependencies.axum]
version = "> 0.1, < 2.0"
optional = true
default-features = false

[dependencies.connectrpc]
version = ">= 0.2, < 1.0"
optional = true
default-features = false

[dependencies.http]
version = "1"
optional = true
default-features = false

[dependencies.tonic]
version = ">= 0.1, < 2.0"
optional = true
default-features = false