Cargo.toml 1.24 KB
Newer Older
1
2
3
4
5
6
7
8
[package]
name = "tor-dirmgr"
version = "0.0.0"
authors = ["Nick Mathewson <nickm@torproject.org>"]
edition = "2018"
license = "MIT OR Apache-2.0"
publish = false

9
[features]
Nick Mathewson's avatar
Nick Mathewson committed
10
default = [ "mmap" ]
11
legacy-store = []
Nick Mathewson's avatar
Nick Mathewson committed
12
mmap = [ "memmap" ]
13

14
15
16
17
[dependencies]
tor-chanmgr = { path="../tor-chanmgr", version= "*" }
tor-checkable = { path="../tor-checkable", version= "*" }
tor-circmgr = { path="../tor-circmgr", version= "*" }
18
tor-consdiff = { path="../tor-consdiff", version= "*" }
19
20
21
22
tor-dirclient = { path="../tor-dirclient", version= "*" }
tor-netdir = { path="../tor-netdir", version= "*" }
tor-netdoc = { path="../tor-netdoc", version= "*" }
tor-llcrypto = { path="../tor-llcrypto", version= "*" }
23
tor-retry = { path="../tor-retry", version= "*" }
24
25
tor-rtcompat = { path="../tor-rtcompat", version= "*" }

Nick Mathewson's avatar
Nick Mathewson committed
26
anyhow = "1.0.38"
27
async-rwlock = "1.3.0"
28
async-trait = "0.1.42"
29
30
31
base64 = "0.13.0"
chrono = "0.4.19"
digest = "0.9.0"
32
event-listener = "2.5.1"
Nick Mathewson's avatar
Nick Mathewson committed
33
futures = "0.3.12"
34
hex = "0.4.2"
Nick Mathewson's avatar
Nick Mathewson committed
35
log = "0.4.14"
Nick Mathewson's avatar
Nick Mathewson committed
36
memmap = { version="0.7.0", optional=true }
37
rand = "0.7.3"
Nick Mathewson's avatar
Nick Mathewson committed
38
rusqlite = { version = "0.24.2", features = ["chrono"] }
39
serde = {version="1.0.123", features = ["derive"] }
Nick Mathewson's avatar
Nick Mathewson committed
40
thiserror = "1.0.23"
41
42
43

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