summaryrefslogtreecommitdiff
path: root/tor-dirmgr/Cargo.toml
blob: 38571d338fde7035fd4c84349522b86a39e73479 (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
[package]
name = "tor-dirmgr"
version = "0.0.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 = "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 = [ "memmap" ]

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

anyhow = "1.0.38"
async-trait = "0.1.48"
base64 = "0.13.0"
chrono = "0.4.19"
digest = "0.9.0"
directories = "3.0.1"
futures = "0.3.13"
fslock = "0.1.6"
hex = "0.4.3"
log = "0.4.14"
memmap = { version="0.7.0", optional=true }
rand = "0.8.3"
rusqlite = { version = "0.25.0", features = ["chrono"] }
serde = { version = "1.0.124", features = ["derive"] }
thiserror = "1.0.24"
humantime-serde = "1.0.1"

[dev-dependencies]
futures-await-test = "0.3.0"
hex-literal = "0.3.1"
tempdir = "0.3.7"