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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
[package]
name = "tor-guardmgr"
version = "0.14.1"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.70"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Manage a set of guard relays for Tor network"
keywords = ["tor", "arti", "async"]
categories = ["network-programming", "cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
default = []
full = [
"bridge-client",
"pt-client",
"safelog/full",
"tor-basic-utils/full",
"tor-config/full",
"tor-error/full",
"tor-linkspec/full",
"tor-llcrypto/full",
"tor-netdir/full",
"tor-netdoc/full",
"tor-persist/full",
"tor-proto/full",
"tor-protover?/full",
"tor-rtcompat/full",
"tor-units/full",
"tor-async-utils/full",
]
experimental = ["testing"]
# Support for using bridges as a client. Note that this is not the same as
# the pt-client feature, since here we are not concerned with
# pluggable transports necessarily.
bridge-client = ["tor-netdoc/routerdesc", "tor-protover"]
# Support for pluggable transports.
pt-client = ["bridge-client", "tor-linkspec/pt-client"]
# Enable testing-only APIs. APIs under this feature are not
# covered by semver.
testing = ["tor-netdir/testing", "__is_experimental"]
__is_experimental = []
[dependencies]
base64ct = "1.5.1"
derive_builder = { version = "0.11", package = "derive_builder_fork_arti" }
derive_more = "0.99.3"
dyn-clone = "1.0.4"
educe = "0.4.6"
futures = "0.3.14"
humantime = "2"
humantime-serde = "1.1.1"
itertools = "0.12.0"
num_enum = "0.7"
pin-project = "1"
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
rand = "0.8"
safelog = { path = "../safelog", version = "0.3.2" }
serde = { version = "1.0.103", features = ["derive"] }
strum = { version = "0.26", features = ["derive"] }
thiserror = "1"
tor-async-utils = { version = "0.1.5", path = "../tor-async-utils" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.8.0" }
tor-config = { path = "../tor-config", version = "0.11.0" }
tor-error = { path = "../tor-error", version = "0.6.0" }
tor-linkspec = { path = "../tor-linkspec", version = "0.11.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.7.0" }
tor-netdir = { path = "../tor-netdir", version = "0.12.1" }
tor-netdoc = { path = "../tor-netdoc", version = "0.12.1" } # for address pattern
tor-persist = { path = "../tor-persist", version = "0.10.1" }
tor-proto = { path = "../tor-proto", version = "0.16.1" }
tor-protover = { path = "../tor-protover", version = "0.6.0", optional = true }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.10.0" }
tor-units = { path = "../tor-units", version = "0.6.5" }
tracing = "0.1.36"
[dev-dependencies]
float_eq = "1.0.0"
serde_json = "1.0.50"
toml = "0.8.8"
tor-netdir = { path = "../tor-netdir", version = "0.12.1", features = ["testing"] }
tor-netdoc = { path = "../tor-netdoc", version = "0.12.1" }
tor-persist = { path = "../tor-persist", version = "0.10.1", features = ["testing"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.10.0", features = ["tokio", "native-tls"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
|