2022-01-12 17:16:18 +00:00
|
|
|
[package]
|
|
|
|
name = "tor-error"
|
2023-06-30 13:42:21 +01:00
|
|
|
version = "0.5.2"
|
2022-01-12 17:16:18 +00:00
|
|
|
authors = ["Ian Jackson <iwj@torproject.org>"]
|
2022-04-25 17:19:02 +01:00
|
|
|
edition = "2021"
|
2023-04-11 20:31:12 +01:00
|
|
|
rust-version = "1.65"
|
2022-01-12 17:16:18 +00:00
|
|
|
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/"
|
2022-05-27 19:02:17 +01:00
|
|
|
categories = ["rust-patterns"]
|
2022-01-12 17:16:18 +00:00
|
|
|
|
2022-01-21 14:57:09 +00:00
|
|
|
[features]
|
|
|
|
default = ["backtrace"]
|
2023-07-06 18:48:01 +01:00
|
|
|
full = ["backtrace", "tracing"]
|
2023-05-15 13:37:35 +01:00
|
|
|
|
2023-05-15 16:00:28 +01:00
|
|
|
experimental = ["experimental-api", "rpc"]
|
|
|
|
experimental-api = ["rpc", "__is_experimental"]
|
2023-05-15 13:37:35 +01:00
|
|
|
|
2023-05-15 16:00:28 +01:00
|
|
|
rpc = ["__is_experimental"]
|
|
|
|
|
2023-07-07 13:47:49 +01:00
|
|
|
tracing = ["dep:tracing", "static_assertions"]
|
|
|
|
|
2023-05-15 16:00:28 +01:00
|
|
|
__is_experimental = []
|
2022-01-21 14:57:09 +00:00
|
|
|
|
2022-01-12 17:16:18 +00:00
|
|
|
[dependencies]
|
2022-02-25 16:07:28 +00:00
|
|
|
backtrace = { version = "0.3.39", optional = true }
|
2022-11-01 10:59:37 +00:00
|
|
|
derive_more = "0.99.3"
|
2022-01-21 15:45:41 +00:00
|
|
|
futures = "0.3"
|
2022-03-31 15:43:46 +01:00
|
|
|
once_cell = "1"
|
2023-07-07 17:43:26 +01:00
|
|
|
paste = "1"
|
2023-07-18 11:09:54 +01:00
|
|
|
retry-error = { path = "../retry-error", version = "0.4.2" } # WRONG should be 0.4.3
|
2023-07-07 13:47:49 +01:00
|
|
|
static_assertions = { version = "1", optional = true }
|
2023-06-21 14:12:36 +01:00
|
|
|
strum = { version = "0.25", features = ["derive"] }
|
2022-01-21 15:45:41 +00:00
|
|
|
thiserror = "1"
|
2023-07-06 18:48:01 +01:00
|
|
|
tracing = { version = "0.1.36", optional = true }
|
2022-01-12 17:16:18 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-08-17 20:13:13 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|