summaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/Cargo.toml
blob: fb09cf317107f302f0761510b78c4edad9068b3f (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
132
133
134
135
136
137
138
[package]
name = "tor-hsservice"
version = "0.30.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.77"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Arti's implementation of an onion service provider"
keywords = ["tor", "arti", "cryptography"]
categories = ["cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
#
# We need a PreferredRuntime
# @@ test-all-crates conditional-option minimal --features=tor-rtcompat/tokio,tor-rtcompat/native-tls

[features]
default = []

# Onion service proof of work schemes
hs-pow-full = ["tor-hscrypto/hs-pow-full", "tor-netdoc/hs-pow-full", "tor-cell/hs-pow-full", "__is_experimental", "__is_experimental"]

full = [
    "tor-circmgr/full",
    "tor-hscrypto/full",
    "tor-llcrypto/full",
    "tor-netdir/full",
    "tor-proto/full",
    "tor-rtcompat/full",
    "retry-error/full",
    "safelog/full",
    "tor-async-utils/full",
    "tor-basic-utils/full",
    "tor-bytes/full",
    "tor-cell/full",
    "tor-config/full",
    "tor-dirclient/full",
    "tor-error/full",
    "tor-key-forge/full",
    "tor-keymgr/full",
    "tor-linkspec/full",
    "tor-netdoc/full",
    "tor-persist/full",
    "tor-protover/full",
    "fs-mistrust/full",
    "tor-log-ratelim/full",
    "tor-relay-selection/full",
    "oneshot-fused-workaround/full",
    "tor-config-path/full",
]

# 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",
    "hs-pow-full",
    "restricted-discovery",
]
experimental-api = ["restricted-discovery", "__is_experimental"]

restricted-discovery = ["__is_experimental"]

__is_experimental = []

[dependencies]
amplify = { version = "4", default-features = false, features = ["derive"] }
async-trait = "0.1.54"
base64ct = "1.5.1"
cfg-if = "1.0.0"
derive-deftly = { version = "~1.0.0", features = ["full", "beta"] }
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = { version = "2.0.1", features = ["full"] }
digest = "0.10.0"
educe = "0.4.22"
fs-mistrust = { path = "../fs-mistrust", version = "0.9.1", features = ["serde"] }
futures = "0.3.14"
growable-bloom-filter = "2.0.1"
hex = "0.4"
humantime = "2"
itertools = "0.14.0"
k12 = "0.3.0"
once_cell = "1"
oneshot-fused-workaround = { path = "../oneshot-fused-workaround", version = "0.2.0" }
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
rand = "0.9.1"
rand_core = "0.9.3"
retry-error = { version = "0.6.1", path = "../retry-error" }
safelog = { path = "../safelog", version = "0.4.5" }
serde = { version = "1.0.103", features = ["derive"] }
serde_with = "3.0.0"
strum = { version = "0.27.1", features = ["derive"] }
thiserror = "2"
tor-async-utils = { path = "../tor-async-utils", version = "0.30.0" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.30.0" }
tor-bytes = { version = "0.30.0", path = "../tor-bytes" }
tor-cell = { version = "0.30.0", path = "../tor-cell", features = ["hs"] }
tor-circmgr = { version = "0.30.0", path = "../tor-circmgr", features = ["hs-service"] }
tor-config = { version = "0.30.0", path = "../tor-config" }
tor-config-path = { version = "0.30.0", path = "../tor-config-path" }
tor-dirclient = { path = "../tor-dirclient", version = "0.30.0", default-features = false, features = ["hs-service"] }
tor-error = { version = "0.30.0", path = "../tor-error" }
tor-hscrypto = { version = "0.30.0", path = "../tor-hscrypto", features = ["ope"] }
tor-keymgr = { version = "0.30.0", path = "../tor-keymgr", features = ["keymgr"] }
tor-linkspec = { version = "0.30.0", path = "../tor-linkspec", features = ["verbatim", "decode"] }
tor-llcrypto = { version = "0.30.0", path = "../tor-llcrypto" }
tor-log-ratelim = { path = "../tor-log-ratelim", version = "0.30.0" }
tor-netdir = { version = "0.30.0", path = "../tor-netdir", features = ["hs-service"] }
tor-netdoc = { version = "0.30.0", path = "../tor-netdoc", features = ["hs-service"] }
tor-persist = { version = "0.30.0", path = "../tor-persist", features = ["state-dir"] }
tor-proto = { version = "0.30.0", path = "../tor-proto", features = [
    "experimental-api",
    "hs-service",
    "send-control-msg",
] }
tor-protover = { version = "0.30.0", path = "../tor-protover" }
tor-relay-selection = { path = "../tor-relay-selection", version = "0.30.0" }
tor-rtcompat = { version = "0.30.0", path = "../tor-rtcompat" }
tracing = "0.1.36"
void = "1"

[dev-dependencies]
libc = { version = "0.2", default-features = false }
rmp-serde = "1"
serde_json = "1.0.104"
slotmap-careful = { path = "../slotmap-careful", version = "0.2.2" }
tempfile = "3"
test-temp-dir = { version = "0.3.3", path = "../test-temp-dir" }
tor-config = { version = "0.30.0", path = "../tor-config", features = ["testing"] }
tor-key-forge = { version = "0.30.0", path = "../tor-key-forge" }
tor-keymgr = { version = "0.30.0", path = "../tor-keymgr", features = ["keymgr", "testing"] }
tor-netdir = { version = "0.30.0", path = "../tor-netdir", features = ["hs-service", "testing"] }
tor-netdoc = { path = "../tor-netdoc", version = "0.30.0", features = ["testing"] }
tor-persist = { version = "0.30.0", path = "../tor-persist", features = ["testing"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.30.0" }
tracing-test = "0.2.4"
walkdir = "2"