summaryrefslogtreecommitdiff
path: root/crates/arti-rpc-client-core/Cargo.toml
blob: b9e99b31077e3dd358e67c2840a0195f6d3169a4 (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
[package]
name = "arti-rpc-client-core"
version = "0.35.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
rust-version = "1.85.1"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Client library for Arti RPC"
keywords = ["tor", "arti"]
# We must put *something* here and this will do
categories = ["network-programming", "cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[lib]
crate-type = ["cdylib", "lib"]

[dependencies]

caret = { path = "../caret", version = "0.7.0" }
cfg-if = "1.0.0"
derive_more = { version = "2.0.1", features = ["full"] }
educe = "0.4.22"
fs-mistrust = { version = "0.12.0", path = "../fs-mistrust" }
paste = { version = "1", optional = true }
percent-encoding = "2.3.1"
rand = "0.9.1"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.104"
thiserror = "2"
tor-config-path = { version = "0.35.0", path = "../tor-config-path", features = ["arti-client"] }
tor-error = { version = "0.35.0", path = "../tor-error", default-features = false }
tor-rpc-connect = { version = "0.35.0", path = "../tor-rpc-connect", features = ["rpc-client"] }
tor-socksproto = { path = "../tor-socksproto", version = "0.35.0", default-features = false, features = [
    "client-handshake",
] }
void = "1"

[dev-dependencies]
rand = "0.9.1"
rand_chacha = "0.9"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.35.0" }

[features]
full = [
    "ffi",
    "caret/full",
    "tor-socksproto/full",
    "tor-error/full",
    "fs-mistrust/full",
    "tor-config-path/full",
    "tor-rpc-connect/full",
]
ffi = ["paste"]

[package.metadata.docs.rs]
all-features = true

[target.'cfg(not(windows))'.dev-dependencies]
socketpair = "0.19"