summaryrefslogtreecommitdiff
path: root/crates/tor-proto/Cargo.toml
blob: 6c2901dcf894c704b8c3c5abbe90de454254c9fb (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.0.2"
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" ]
traffic-timestamp = [ "coarsetime" ]

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

arrayref = "0.3.6"
bytes = "1.0.1"
cipher = "0.3.0"
crypto-mac = "0.11.0"
digest = "0.9.0"
futures = "0.3.13"
asynchronous-codec = "0.6.0"
generic-array = "0.14.4"
hkdf = "0.11.0"
hmac = "0.11.0"
tracing = "0.1.26"
rand = "0.8.3"
rand_core = "0.6.2"
subtle = "2.4.0"
thiserror = "1.0.24"
typenum = "1.13.0"
zeroize = "1.3.0"

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

coarsetime = { version = "0.1.20", optional = true }

[dev-dependencies]
tor-rtcompat = { path="../tor-rtcompat", version = "0.0.2", features = ["tokio"] }
hex-literal = "0.3.1"
hex = "0.4.3"