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
|
[package]
name = "tor-rpc-connect"
version = "0.24.0"
edition = "2021"
rust-version = "1.77"
authors = ["The Tor Project, Inc."]
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Common implementation logic for Arti RPC Connect points"
keywords = ["tor", "arti", "rpc"]
categories = ["asynchronous"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
full = [
"rpc-client",
"rpc-server",
"fs-mistrust/full",
"safelog/full",
"tor-basic-utils/full",
"tor-config-path/full",
"tor-general-addr/full",
"tor-rtcompat?/full",
]
default = []
rpc-client = []
rpc-server = ["rand", "tor-rtcompat"]
[dependencies]
# NOTE: This crate is a dependency of our RPC client library;
# Try to avoid introducing big unconditional dependencies!
derive_more = { version = "1.0.0", features = ["full"] }
fs-mistrust = { path = "../fs-mistrust", version = "0.8.0" }
rand = { version = "0.8", optional = true }
safelog = { path = "../safelog", version = "0.4.0" }
serde = { version = "1.0.103", features = ["derive"] }
serde_with = "3.0.0"
thiserror = "2"
toml = "0.8.8"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.24.0" }
tor-config-path = { path = "../tor-config-path", version = "0.24.0", features = ["address"] }
tor-general-addr = { path = "../tor-general-addr", version = "0.24.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.24.0", optional = true }
tracing = "0.1.36"
zeroize = "1"
[dev-dependencies]
assert_matches = "1.5.0"
tempfile = "3.10"
|