summaryrefslogtreecommitdiff
path: root/crates/tor-proto/Cargo.toml
blob: dabf7ff9f2f19374c4956142e921dfc2193f265d (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
[package]
name = "tor-proto"
version = "0.1.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Asynchronous client-side implementation of the central Tor network protocols"
keywords = ["tor", "arti", "networking", "anonymity"]
categories = ["network-programming", "cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []
hs = []
ntor_v3 = []
tokio = ["tokio-crate", "tokio-util"]

[dependencies]
tor-basic-utils = { path = "../tor-basic-utils", version = "0.1.0"}
tor-llcrypto = { path = "../tor-llcrypto", version = "0.1.0"}
tor-bytes = { path = "../tor-bytes", version = "0.1.0"}
tor-cert = { path = "../tor-cert", version = "0.1.0"}
tor-error = { path = "../tor-error", version = "0.1.0"}
tor-linkspec = { path = "../tor-linkspec", version = "0.1.0"}
tor-checkable = { path = "../tor-checkable", version = "0.1.0"}
tor-protover = { path = "../tor-protover", version = "0.1.0"}
tor-cell = { path = "../tor-cell", version = "0.1.0"}

arrayref = "0.3"
bytes = "1"
cipher = "0.3.0"
coarsetime = "0.1.20"
digest = "0.10.0"
educe = "0.4.6"
futures = "0.3.14"
asynchronous-codec = "0.6.0"
generic-array = "0.14.3"
hkdf = "0.12.0"
hmac = "0.12.0"
tracing = "0.1.18"
rand = "0.8"
rand_core = "0.6.2"
subtle = "2"
thiserror = "1"
typenum = "1.12"
zeroize = "1"

tokio-crate = { package = "tokio", version = "1.7", optional = true }
tokio-util = { version = "0.7.0", features = ["compat"], optional = true }

[dev-dependencies]
tor-rtcompat = { path = "../tor-rtcompat", version = "0.1.0", features = [ "tokio", "native-tls" ] }
hex-literal = "0.3"
hex = "0.4"