1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
[package]
name = "tor-error"
version = "0.43.0"
authors = ["Ian Jackson <[email protected]>"]
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Provides the unified type-erased error type returned by many (esp. high-level) Tor APIs."
keywords = ["tor", "arti"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
categories = ["rust-patterns"]
[features]
default = ["backtrace", "futures"]
full = [
"backtrace",
"futures",
"tracing",
"http",
"retry-error/full",
"web-time-compat/full",
]
experimental = ["experimental-api", "rpc"]
experimental-api = ["rpc", "__is_experimental"]
rpc = ["__is_experimental"]
tracing = ["dep:tracing", "static_assertions"]
__is_experimental = []
backtrace = []
http = ["dep:http"]
[dependencies]
derive_more = { version = "2.0.1", features = ["full"] }
futures = { version = "0.3", optional = true }
http = { version = "1.3.1", optional = true }
paste = "1.0.3"
retry-error = { path = "../retry-error", version = "0.12.0" } # WRONG should be 0.4.3
static_assertions = { version = "1", optional = true }
strum = { version = "0.28.0", features = ["derive"] }
thiserror = "2"
tracing = { version = "0.1.36", optional = true }
void = "1"
web-time-compat = { version = "0.1.0", path = "../web-time-compat" }
[dev-dependencies]
anyhow = "1.0.72"
tracing-test = "0.2.4"
[package.metadata.docs.rs]
all-features = true
|