typed-error 0.0.1

A typed, transport-aware error system for Rust services with structured metadata, retry hints, and HTTP/gRPC mapping.
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 = "typed-error"
version = "0.0.1"
authors = ["Meisam Khoshbakht"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A typed, transport-aware error system for Rust services with structured metadata, retry hints, and HTTP/gRPC mapping."
readme = "README.md"
keywords = [
    "error",
    "errors",
    "http",
    "grpc",
    "axum",
]
categories = [
    "rust-patterns",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/meisamkht/typed-error"

[features]
axum = [
    "http",
    "serde",
    "dep:axum",
    "dep:serde_json",
]
default = [
    "std",
    "http",
    "serde",
]
http = ["dep:http"]
serde = ["dep:serde"]
std = []
tonic = ["dep:tonic"]
tracing = ["dep:tracing"]

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

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

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

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

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

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

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

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

[dependencies.tonic]
version = "0.14"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true