summaryrefslogtreecommitdiff
path: root/crates/tor-circmgr/Cargo.toml
blob: b7e8571acb37d499a0b71b0ecbc8311efd7f7224 (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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[package]
name = "tor-circmgr"
version = "0.43.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Manage a set of anonymous circuits over the Tor network"
keywords = ["tor", "arti", "async"]
categories = ["network-programming", "cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]

default = []
full = [
    "hs-client",
    "hs-service",
    "specific-relay",
    "vanguards",
    "flowctl-cc",
    "retry-error/full",
    "safelog/full",
    "send-control-msg",
    "tor-basic-utils/full",
    "tor-cell/full",
    "tor-chanmgr/full",
    "tor-config/full",
    "tor-error/full",
    "tor-guardmgr/full",
    "tor-linkspec/full",
    "tor-netdir/full",
    "tor-netdoc/full",
    "tor-persist/full",
    "tor-proto/full",
    "tor-rtcompat/full",
    "tor-geoip?/full",
    "tor-async-utils/full",
    "tor-protover/full",
    "tor-relay-selection/full",
    "oneshot-fused-workaround/full",
    "tor-memquota/full",
    "tor-units/full",
    "tor-dircommon/full",
    "web-time-compat/full",
]
specific-relay = []
vanguards = ["tor-guardmgr/vanguards"]
flowctl-cc = ["tor-proto/flowctl-cc"]

# Enable testing-only APIs.  APIs under this feature are not
# covered by semver.
testing = ["tor-guardmgr/testing", "__is_experimental"]

# 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 = ["experimental-api", "testing", "geoip", "conflux"]
conflux = ["__is_experimental", "tor-proto/conflux"]
geoip = [
    "tor-geoip",
    "tor-netdir/geoip",
    "tor-relay-selection/geoip",
    "__is_experimental",
]
experimental-api = ["visibility", "__is_experimental"]
send-control-msg = ["tor-proto/send-control-msg"]
hs-client = ["hs-common"]
hs-service = ["hs-common", "tor-proto/hs-service"]
hs-common = []
__is_experimental = []

[dependencies]
amplify = { version = "4", default-features = false, features = ["derive"] }
async-trait = "0.1.54"
cfg-if = "1.0.0"
derive-deftly = { version = "~1.11.0", features = ["full", "beta"] }
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = { version = "2.0.1", features = ["full"] }
downcast-rs = "2.0.1"
dyn-clone = "1.0.4"
educe = "0.4.22"
futures = "0.3.14"
humantime-serde = "1.1.1"
itertools = "0.14.0"
once_cell = "1"
oneshot-fused-workaround = { path = "../oneshot-fused-workaround", version = "0.6.0" }
pin-project = "1"
rand = "0.10.1"
retry-error = { path = "../retry-error", version = "0.12.0" }
safelog = { path = "../safelog", version = "0.8.2" }
serde = { version = "1.0.103", features = ["derive"] }
thiserror = "2"
tor-async-utils = { version = "0.43.0", path = "../tor-async-utils" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.43.0" }
tor-cell = { path = "../tor-cell", version = "0.43.0" }
tor-chanmgr = { path = "../tor-chanmgr", version = "0.43.0" }
tor-config = { path = "../tor-config", version = "0.43.0" }
tor-dircommon = { path = "../tor-dircommon", version = "0.43.0" }
tor-error = { path = "../tor-error", version = "0.43.0", features = ["tracing"] }
tor-geoip = { path = "../tor-geoip", version = "0.43.0", optional = true }
tor-guardmgr = { path = "../tor-guardmgr", version = "0.43.0" }
tor-linkspec = { path = "../tor-linkspec", version = "0.43.0" }
tor-memquota = { version = "0.43.0", path = "../tor-memquota", default-features = false }
tor-netdir = { path = "../tor-netdir", version = "0.43.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.43.0" }
tor-persist = { path = "../tor-persist", version = "0.43.0" }
tor-proto = { path = "../tor-proto", version = "0.43.0" }
tor-protover = { path = "../tor-protover", version = "0.43.0" }
tor-relay-selection = { path = "../tor-relay-selection", version = "0.43.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.43.0" }
tor-units = { path = "../tor-units", version = "0.43.0" }
tracing = "0.1.36"
visibility = { version = "0.1.0", optional = true }
void = "1.0"
weak-table = "0.3.0"
web-time-compat = { path = "../web-time-compat", version = "0.1.0" }

[dev-dependencies]
futures-await-test = "0.3.0"
hex = "0.4"
tor-guardmgr = { path = "../tor-guardmgr", version = "0.43.0", features = ["testing", "vanguards"] }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.43.0" }
tor-netdir = { path = "../tor-netdir", version = "0.43.0", features = ["testing"] }
tor-persist = { path = "../tor-persist", version = "0.43.0", features = ["testing"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.43.0", features = ["tokio", "native-tls"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.43.0" }
[package.metadata.docs.rs]
all-features = true