summaryrefslogtreecommitdiff
path: root/crates/arti-rpc-client-core/Cargo.toml
blob: 9ea3e6005d8e40eecb7cc46520a670963f85c47b (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
[package]
name = "arti-rpc-client-core"
version = "0.24.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.77"
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.5.0" }
cfg-if = "1.0.0"
derive_more = { version = "1.0.0", features = ["full"] }
educe = "0.4.6"
paste = { version = "1", optional = true }
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.104"
thiserror = "1"
tor-error = { version = "0.24.0", path = "../tor-error", default-features = false }
tor-socksproto = { path = "../tor-socksproto", version = "0.24.0", default-features = false, features = [
    "client-handshake",
] }
void = "1"

[dev-dependencies]
rand = "0.8"
rand_chacha = "0.3"
socketpair = "0.19"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.24.0" }

[features]
full = ["ffi", "caret/full", "tor-socksproto/full", "tor-error/full"]
ffi = ["paste"]

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