summaryrefslogtreecommitdiff
path: root/crates/arti-relay/Cargo.toml
blob: db2a040021273afd1bab4b7a69f34e3224dccaa1 (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
[package]
name = "arti-relay"
version = "0.42.0"
authors = ["The Tor Project, Inc."]
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Library for running a relay of the Tor network"
keywords = ["tor", "arti", "privacy", "anonymity", "networking"]
categories = ["network-programming", "cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
full = [
    "fs-mistrust/full",
    "safelog/full",
    "tor-chanmgr/full",
    "tor-config/full",
    "tor-error/full",
    "tor-keymgr/full",
    "tor-netdir/full",
    "tor-netdoc/full",
    "tor-proto/full",
    "tor-relay-crypto/full",
    "tor-rtcompat/full",
    "tor-memquota/full",
    "tor-config-path/full",
    "tor-llcrypto/full",
    "tor-persist/full",
    "tor-general-addr/full",
    "tor-circmgr/full",
    "tor-dircommon/full",
    "tor-dirmgr/full",
    "tor-guardmgr/full",
    "tor-log-ratelim/full",
    "tor-basic-utils/full",
    "tor-cert/full",
    "tor-key-forge/full",
    "tor-units/full",
    "web-time-compat/full",
]

[dependencies]
anyhow = "1.0.23"
base64ct = "1.8.0"
clap = { version = "4.3.24", features = ["string", "wrap_help", "derive"] }
derive-deftly = { version = "~1.11.0", features = ["full", "beta"] }
derive_more = { version = "2.0.1", features = ["full"] }
directories = "6"
fs-mistrust = { path = "../fs-mistrust", version = "0.14.0", features = ["serde"] }
futures = "0.3.14"
libc = "0.2"
rand = "0.9.1"
rustls = { version = "0.23.5", default-features = false, features = ["logging", "aws_lc_rs"] }
safelog = { path = "../safelog", version = "0.8.2" }
serde = { version = "1.0.103", features = ["derive"] }
smallvec = "1.10"
strum = { version = "0.28.0", features = ["derive"] }
thiserror = "2"
tokio = { version = "1.7", features = ["signal"] }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.42.0" }
tor-cert = { path = "../tor-cert", version = "0.42.0" }
tor-chanmgr = { path = "../tor-chanmgr", version = "0.42.0", features = ["relay"] }
tor-circmgr = { version = "0.42.0", path = "../tor-circmgr", features = ["flowctl-cc"] }
tor-config = { path = "../tor-config", version = "0.42.0" }
tor-config-path = { path = "../tor-config-path", version = "0.42.0" }
tor-dircommon = { version = "0.42.0", path = "../tor-dircommon" }
tor-dirmgr = { path = "../tor-dirmgr", version = "0.42.0" }
tor-error = { path = "../tor-error", version = "0.42.0" }
tor-general-addr = { path = "../tor-general-addr", version = "0.42.0" }
tor-guardmgr = { version = "0.42.0", path = "../tor-guardmgr" }
tor-key-forge = { version = "0.42.0", path = "../tor-key-forge" }
tor-keymgr = { path = "../tor-keymgr", version = "0.42.0", features = ["keymgr", "experimental-api"] }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.42.0" }
tor-log-ratelim = { path = "../tor-log-ratelim", version = "0.42.0" }
tor-memquota = { version = "0.42.0", path = "../tor-memquota" }
tor-netdir = { path = "../tor-netdir", version = "0.42.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.42.0" }
tor-persist = { path = "../tor-persist", version = "0.42.0", features = ["state-dir"] }
tor-proto = { path = "../tor-proto", version = "0.42.0", features = ["counter-galois-onion", "tokio", "flowctl-cc"] }
tor-relay-crypto = { path = "../tor-relay-crypto", version = "0.42.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.42.0", features = ["rustls", "tokio", "tls-server"] }
tor-units = { path = "../tor-units", version = "0.42.0" }
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
void = "1"
web-time-compat = { path = "../web-time-compat", version = "0.1.0" }

[dev-dependencies]
tor-keymgr = { path = "../tor-keymgr", version = "0.42.0", features = ["ephemeral-keystore", "testing"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.42.0" }

[package.metadata.docs.rs]
all-features = true