summaryrefslogtreecommitdiff
path: root/crates/arti-rpcserver/Cargo.toml
blob: b6d15d044c375637acadf285ad51856297d5f831 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "arti-rpcserver"
version = "0.31.0"
edition = "2021"
rust-version = "1.83"
authors = ["The Tor Project, Inc.", "eta <[email protected]>"]
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Backend functionality for Arti's RPC service"
keywords = ["tor", "arti", "rpc"]
categories = ["asynchronous"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []
full = [
    "arti-client/full",
    "tor-async-utils/full",
    "tor-error/full",
    "tor-rpcbase/full",
    "tor-rtcompat/full",
    "tor-bytes/full",
    "tor-llcrypto/full",
    "tor-proto/full",
    "describe-methods",
    "oneshot-fused-workaround/full",
    "slotmap-careful/full",
    "tor-rpc-connect/full",
]
describe-methods = ["tor-rpcbase/describe-methods"]
experimental = ["weakref"]
weakref = ["__is_experimental"]

__is_experimental = []

[dependencies]
arti-client = { path = "../arti-client", version = "0.31.0", features = ["rpc"] }
async-trait = "0.1.54"
asynchronous-codec = { version = "0.7.0", features = ["json"] }
base64ct = "1.5.1"
bytes = "1"
derive-deftly = { version = "~1.0.0", features = ["full", "beta"] }
derive_more = { version = "2.0.1", features = ["full"] }
erased-serde = "0.4.2"
futures = "0.3.14"
oneshot-fused-workaround = { path = "../oneshot-fused-workaround", version = "0.2.0" }
pin-project = "1"
rand = "0.9.1"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.50"
slotmap-careful = { path = "../slotmap-careful", version = "0.2.2" }
thiserror = "2"
tiny-keccak = { version = "2.0.2", features = ["kmac"] }
tor-async-utils = { path = "../tor-async-utils", version = "0.31.0" }
tor-bytes = { path = "../tor-bytes", version = "0.31.0" }
tor-error = { path = "../tor-error", version = "0.31.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.31.0" }
tor-proto = { path = "../tor-proto", version = "0.31.0", features = ["stream-ctrl"] }
tor-rpc-connect = { path = "../tor-rpc-connect", version = "0.31.0" }
tor-rpcbase = { path = "../tor-rpcbase", version = "0.31.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.31.0" }
tracing = "0.1.36"
typetag = "0.2.7"
weak-table = "0.3.0"
zeroize = "1"

[dev-dependencies]
futures-await-test = "0.3.0"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.31.0" }
tor-rtmock = { path = "../tor-rtmock", version = "0.31.0" }