summaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/Cargo.toml
blob: 58da7802254b66fd1128bf419dacec1845cd257d (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
[package]
name = "tor-dirmgr"
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 = "Bootstrap and update an accurate Tor network directory"
keywords = [ "tor", "arti", "download", "async" ]
categories = [ "network-programming", "cryptography" ]
repository="https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = [ "mmap" ]
mmap = [ "memmap2" ]
static = [ "rusqlite/bundled" ]
# (Incomplete) support for downloading and storing router descriptors
routerdesc = [ "tor-dirclient/routerdesc" ]

[dependencies]
retry-error = { path="../retry-error", version = "0.0.2"}
tor-checkable = { path="../tor-checkable", version = "0.0.2"}
tor-circmgr = { path="../tor-circmgr", version = "0.0.2"}
tor-config = { path="../tor-config", version = "0.0.2"}
tor-consdiff = { path="../tor-consdiff", version = "0.0.2"}
tor-dirclient = { path="../tor-dirclient", version = "0.0.2"}
tor-netdir = { path="../tor-netdir", version = "0.0.2"}
tor-netdoc = { path="../tor-netdoc", version = "0.0.2"}
tor-llcrypto = { path="../tor-llcrypto", version = "0.0.2"}
tor-rtcompat = { path="../tor-rtcompat", version = "0.0.2"}

async-trait = "0.1.48"
base64 = "0.13.0"
derive_builder = "0.10.2"
digest = "0.9.0"
futures = "0.3.13"
fslock = { version = "0.2.0" }
hex = "0.4.3"
itertools = "0.10.1"
tracing = "0.1.26"
memmap2 = { version = "0.5.0", optional = true }
postage = { version="0.4.1", default-features=false, features=["futures-traits"] }
rand = "0.8.3"
rusqlite = { version = "0.26.0", features = ["time"] }
serde = { version = "1.0.124", features = ["derive"] }
signature = "1.3.1"
thiserror = "1.0.24"
time = { version = "0.3.3", features = ["formatting", "parsing"] }
humantime-serde = "1.0.1"

[dev-dependencies]
futures-await-test = "0.3.0"
hex-literal = "0.3.1"
tempfile = "3.2.0"
tor-rtcompat = { path="../tor-rtcompat", version = "0.0.2", features=["tokio"] }
once_cell = "1.7.2"