summaryrefslogtreecommitdiff
path: root/crates/tor-hsrproxy/Cargo.toml
blob: 90804e378acde7b62de92f47cc8f36edd015b8c1 (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
[package]
name = "tor-hsrproxy"
version = "0.35.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
rust-version = "1.85.1"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Reverse proxy to build an onion service that connects to local servers."
keywords = ["tor", "arti", "cryptography"]
categories = ["cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []
metrics = ["dep:metrics", "__is_experimental"]
full = [
    "safelog/full",
    "tor-cell/full",
    "tor-config/full",
    "tor-error/full",
    "tor-hsservice/full",
    "tor-proto/full",
    "tor-rtcompat/full",
    "tor-async-utils/full",
    "tor-log-ratelim/full",
    "oneshot-fused-workaround/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 = [
    "tor-hsservice/experimental",
    "experimental-api",
    "metrics",
    "restricted-discovery",
]
experimental-api = ["__is_experimental"]
__is_experimental = []

restricted-discovery = ["tor-hsservice/restricted-discovery", "__is_experimental"]

[dependencies]
derive-deftly = { version = "~1.3.0", features = ["full", "beta"] }
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
futures = "0.3.14"
# postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
itertools = "0.14.0"
metrics = { version = "0.24.1", optional = true }
oneshot-fused-workaround = { path = "../oneshot-fused-workaround", version = "0.4.0" }
rangemap = "1.3"
safelog = { version = "0.6.0", path = "../safelog" }
serde = { version = "1.0.103", features = ["derive"] }
serde_with = "3.0.0"
strum = { version = "0.27.1", features = ["derive"] }
thiserror = "2"
tor-async-utils = { version = "0.35.0", path = "../tor-async-utils" }
tor-cell = { version = "0.35.0", path = "../tor-cell" }
tor-config = { version = "0.35.0", path = "../tor-config" }
tor-error = { version = "0.35.0", path = "../tor-error" }
tor-hsservice = { path = "../tor-hsservice", version = "0.35.0" }
tor-log-ratelim = { path = "../tor-log-ratelim", version = "0.35.0" }
tor-proto = { version = "0.35.0", path = "../tor-proto", features = ["hs-service"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.35.0" }
tracing = "0.1.36"
void = "1"

[dev-dependencies]
serde_json = "1.0.50"
toml = "0.9.5"