tor-error 0.39.0

Provides the unified type-erased error type returned by many (esp. high-level) Tor APIs.
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"
rust-version = "1.86"
name = "tor-error"
version = "0.39.0"
authors = ["Ian Jackson <iwj@torproject.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides the unified type-erased error type returned by many (esp. high-level) Tor APIs."
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[package.metadata.docs.rs]
all-features = true

[features]
__is_experimental = []
backtrace = []
default = [
    "backtrace",
    "futures",
]
experimental = [
    "experimental-api",
    "rpc",
]
experimental-api = [
    "rpc",
    "__is_experimental",
]
full = [
    "backtrace",
    "futures",
    "tracing",
    "http",
    "retry-error/full",
]
http = ["dep:http"]
rpc = ["__is_experimental"]
tracing = [
    "dep:tracing",
    "static_assertions",
]

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

[dependencies.derive_more]
version = "2.0.1"
features = ["full"]

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

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

[dependencies.paste]
version = "1.0.3"

[dependencies.retry-error]
version = "0.10.0"

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

[dependencies.strum]
version = "0.27.1"
features = ["derive"]

[dependencies.thiserror]
version = "2"

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

[dependencies.void]
version = "1"

[dev-dependencies.anyhow]
version = "1.0.72"

[dev-dependencies.tracing-test]
version = "0.2.4"