2020-11-19 19:25:02 +00:00
|
|
|
[package]
|
|
|
|
name = "tor-dirmgr"
|
2022-10-03 15:01:46 +01:00
|
|
|
version = "0.8.0"
|
2021-03-17 18:43:40 +00:00
|
|
|
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
|
2022-04-25 17:19:02 +01:00
|
|
|
edition = "2021"
|
2022-04-25 17:10:41 +01:00
|
|
|
rust-version = "1.56"
|
2020-11-19 19:25:02 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-03-17 18:13:26 +00:00
|
|
|
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
|
2021-03-17 18:31:59 +00:00
|
|
|
description = "Bootstrap and update an accurate Tor network directory"
|
2021-12-09 19:10:41 +00:00
|
|
|
keywords = ["tor", "arti", "download", "async"]
|
|
|
|
categories = ["network-programming", "cryptography"]
|
|
|
|
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
|
2020-11-19 19:25:02 +00:00
|
|
|
|
2020-11-24 15:43:16 +00:00
|
|
|
[features]
|
2021-12-09 19:10:41 +00:00
|
|
|
default = ["mmap"]
|
2022-06-10 20:26:51 +01:00
|
|
|
full = ["routerdesc"]
|
2022-09-29 15:59:19 +01:00
|
|
|
experimental = ["experimental-api", "dirfilter", "bridge-client"]
|
2022-10-21 15:15:58 +01:00
|
|
|
bridge-client = ["tor-circmgr/specific-relay", "tor-guardmgr/bridge-client", "routerdesc"]
|
2022-06-10 20:26:51 +01:00
|
|
|
|
2021-12-09 19:10:41 +00:00
|
|
|
mmap = ["memmap2"]
|
|
|
|
static = ["rusqlite/bundled"]
|
2021-11-12 17:12:21 +00:00
|
|
|
# (Incomplete) support for downloading and storing router descriptors
|
2021-12-09 19:10:41 +00:00
|
|
|
routerdesc = ["tor-dirclient/routerdesc"]
|
2022-03-21 17:33:38 +00:00
|
|
|
dirfilter = []
|
2020-11-24 15:43:16 +00:00
|
|
|
|
2022-03-01 09:46:30 +00:00
|
|
|
# Enable experimental APIs that are not yet officially supported.
|
|
|
|
#
|
|
|
|
# These APIs are not covered by semantic versioning. Using this
|
|
|
|
# feature voids your "semver warrantee".
|
|
|
|
experimental-api = []
|
|
|
|
|
2020-11-19 19:25:02 +00:00
|
|
|
[dependencies]
|
2022-01-07 20:54:24 +00:00
|
|
|
async-trait = "0.1.2"
|
2020-11-20 17:20:43 +00:00
|
|
|
base64 = "0.13.0"
|
2022-05-06 13:18:03 +01:00
|
|
|
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
|
2022-02-16 21:28:23 +00:00
|
|
|
derive_more = "0.99"
|
2021-12-08 01:33:46 +00:00
|
|
|
digest = "0.10.0"
|
2022-03-02 17:13:18 +00:00
|
|
|
educe = "0.4.6"
|
2022-01-07 20:54:24 +00:00
|
|
|
event-listener = "2"
|
2022-09-01 13:52:51 +01:00
|
|
|
fs-mistrust = { path = "../fs-mistrust", version = "0.5.0" }
|
2021-10-27 19:52:09 +01:00
|
|
|
fslock = { version = "0.2.0" }
|
2022-05-28 17:41:39 +01:00
|
|
|
futures = "0.3.14"
|
2022-01-07 20:54:24 +00:00
|
|
|
hex = "0.4"
|
2022-05-28 17:41:39 +01:00
|
|
|
humantime-serde = "1.1.1"
|
2021-08-18 14:55:39 +01:00
|
|
|
itertools = "0.10.1"
|
2021-09-23 13:26:29 +01:00
|
|
|
memmap2 = { version = "0.5.0", optional = true }
|
2022-01-13 18:55:34 +00:00
|
|
|
once_cell = "1"
|
2022-10-24 19:30:29 +01:00
|
|
|
paste = "1"
|
2022-04-25 21:06:31 +01:00
|
|
|
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
|
2022-01-07 20:54:24 +00:00
|
|
|
rand = "0.8"
|
2022-05-28 17:41:39 +01:00
|
|
|
retry-error = { path = "../retry-error", version = "0.2.0" }
|
2022-07-19 21:41:50 +01:00
|
|
|
rusqlite = { version = "0.28.0", features = ["time"] }
|
2022-06-10 18:54:30 +01:00
|
|
|
scopeguard = "1"
|
2022-01-07 20:54:24 +00:00
|
|
|
serde = { version = "1.0.103", features = ["derive"] }
|
|
|
|
signature = "1"
|
2022-10-24 19:30:29 +01:00
|
|
|
strum = { version = "0.24", features = ["derive"] }
|
2022-01-07 20:54:24 +00:00
|
|
|
thiserror = "1"
|
|
|
|
time = { version = "0.3", features = ["formatting", "parsing"] }
|
2022-09-01 13:52:51 +01:00
|
|
|
tor-basic-utils = { path = "../tor-basic-utils", version = "0.4.0" }
|
2022-05-28 17:41:39 +01:00
|
|
|
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
|
2022-10-03 15:01:46 +01:00
|
|
|
tor-circmgr = { path = "../tor-circmgr", version = "0.6.0" }
|
2022-09-01 13:52:51 +01:00
|
|
|
tor-config = { path = "../tor-config", version = "0.6.0" }
|
2022-05-28 17:41:39 +01:00
|
|
|
tor-consdiff = { path = "../tor-consdiff", version = "0.3.0" }
|
2022-10-03 15:01:46 +01:00
|
|
|
tor-dirclient = { path = "../tor-dirclient", version = "0.5.0" }
|
2022-06-24 17:00:22 +01:00
|
|
|
tor-error = { path = "../tor-error", version = "0.3.2" }
|
2022-10-03 15:01:46 +01:00
|
|
|
tor-guardmgr = { path = "../tor-guardmgr", version = "0.7.0" }
|
2022-10-03 14:52:34 +01:00
|
|
|
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.5" }
|
2022-09-01 13:52:51 +01:00
|
|
|
tor-netdir = { path = "../tor-netdir", version = "0.6.0" }
|
2022-10-03 14:52:34 +01:00
|
|
|
tor-netdoc = { path = "../tor-netdoc", version = "0.5.2" }
|
2022-10-18 20:00:27 +01:00
|
|
|
tor-proto = { path = "../tor-proto", version = "0.7.0" }
|
2022-10-03 15:01:46 +01:00
|
|
|
tor-rtcompat = { path = "../tor-rtcompat", version = "0.7.0" }
|
2022-05-28 17:41:39 +01:00
|
|
|
tracing = "0.1.18"
|
2020-11-19 19:25:02 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-10-31 14:13:17 +00:00
|
|
|
anyhow = "1.0.23"
|
2022-06-07 13:03:55 +01:00
|
|
|
float_eq = "1.0.0"
|
2022-01-07 20:54:24 +00:00
|
|
|
hex-literal = "0.3"
|
|
|
|
tempfile = "3"
|
2022-10-31 14:13:17 +00:00
|
|
|
tokio = { version = "1.7", features = ["full"] }
|
|
|
|
tor-linkspec = { path = "../tor-linkspec", version = "0.5.1" }
|
2022-10-03 15:01:46 +01:00
|
|
|
tor-rtcompat = { path = "../tor-rtcompat", version = "0.7.0", features = ["tokio", "native-tls"] }
|
|
|
|
tor-rtmock = { path = "../tor-rtmock", version = "0.6.0" }
|
2022-08-17 20:13:13 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|