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
|
[package]
name = "tor-dirserver"
version = "0.38.0"
authors = ["The Tor Project, Inc.", "Clara Engler <[email protected]>"]
edition = "2021"
rust-version = "1.86"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Implements dirserver functionality"
keywords = ["tor", "arti"]
# We must put *something* here and this will do
categories = ["rust-patterns"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
full = [
"tor-error/full",
"tor-basic-utils/full",
"tor-dircommon/full",
"tor-netdoc/full",
"retry-error/full",
"tor-dirclient/full",
"tor-rtcompat/full",
]
[dependencies]
bytes = "1.10.1"
futures = "0.3.31"
http = "1.3.1"
http-body = "1.0.1"
hyper = { version = "1.7.0", default-features = false, features = ["server", "http1"] }
hyper-util = { version = "0.1.16", features = ["full"] }
r2d2 = "0.8.10"
r2d2_sqlite = "0.31.0"
rand = "0.9.2"
retry-error = { version = "0.10.0", path = "../retry-error" }
rusqlite = "0.37.0"
saturating-time = "0.3.0"
strum = { version = "0.27.1", features = ["derive"] }
thiserror = "2.0.16"
tokio = { version = "1.47.1", features = ["full"] }
tokio-util = { version = "0.7.16", features = ["compat"] }
tor-basic-utils = { version = "0.38.0", path = "../tor-basic-utils" }
tor-dirclient = { version = "0.38.0", path = "../tor-dirclient" }
tor-dircommon = { version = "0.38.0", path = "../tor-dircommon" }
tor-error = { version = "0.38.0", path = "../tor-error" }
tor-netdoc = { version = "0.38.0", path = "../tor-netdoc" }
tor-rtcompat = { version = "0.38.0", path = "../tor-rtcompat", features = [ "tokio", "native-tls", "rustls" ] }
tracing = "0.1.41"
weak-table = "0.3.2"
[dev-dependencies]
flate2 = "1.1.2"
hex = "0.4.3"
http-body-util = "0.1.3"
lazy_static = "1.5.0"
lzma-rs = "0.3.0"
sha2 = "0.10.9"
tempfile = "3.23.0"
tokio-stream = { version = "0.1.17", features = ["full"] }
zstd = "0.13.3"
|