arti/crates/tor-error/Cargo.toml

43 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "tor-error"
version = "0.5.3"
authors = ["Ian Jackson <iwj@torproject.org>"]
edition = "2021"
2023-04-11 20:31:12 +01:00
rust-version = "1.65"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
2022-04-23 12:51:44 +01:00
description = "Provides the unified type-erased error type returned by many (esp. high-level) Tor APIs."
2022-03-31 17:34:07 +01:00
keywords = ["tor", "arti"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
categories = ["rust-patterns"]
[features]
default = ["backtrace"]
full = ["backtrace", "tracing", "retry-error/full"]
2023-05-15 16:00:28 +01:00
experimental = ["experimental-api", "rpc"]
experimental-api = ["rpc", "__is_experimental"]
2023-05-15 16:00:28 +01:00
rpc = ["__is_experimental"]
tracing = ["dep:tracing", "static_assertions"]
2023-05-15 16:00:28 +01:00
__is_experimental = []
[dependencies]
backtrace = { version = "0.3.68", optional = true }
derive_more = "0.99.3"
futures = "0.3"
once_cell = "1"
paste = "1"
retry-error = { path = "../retry-error", version = "0.5.0" } # WRONG should be 0.4.3
static_assertions = { version = "1", optional = true }
2023-06-21 14:12:36 +01:00
strum = { version = "0.25", features = ["derive"] }
thiserror = "1"
tracing = { version = "0.1.36", optional = true }
[dev-dependencies]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]