summaryrefslogtreecommitdiff
path: root/crates/arti-relay/Cargo.toml
blob: 4ae75bd8170fc9da357fe7603b992daabc12d314 (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
[package]
name = "arti-relay"
version = "0.22.0"
authors = ["The Tor Project, Inc."]
edition = "2021"
rust-version = "1.70"
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]
# Relay doesn't support native-tls at the moment.
default = ["tokio", "rustls"]
full = [
    "async-std",
    "tokio",
    "rustls",
    "fs-mistrust/full",
    "tor-chanmgr/full",
    "tor-config/full",
    "tor-keymgr/full",
    "tor-netdir/full",
    "tor-netdoc/full",
    "tor-proto/full",
    "tor-rtcompat/full",
]

async-std = ["tor-rtcompat/async-std"]
rustls = ["tor-rtcompat/rustls"]
tokio = ["tor-rtcompat/tokio", "tor-proto/tokio"]

[dependencies]
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = "0.99.3"
fs-mistrust = { path = "../fs-mistrust", version = "0.7.9", features = ["serde"] }
serde = { version = "1.0.103", features = ["derive"] }
tor-chanmgr = { path = "../tor-chanmgr", version = "0.22.0" }
tor-config = { path = "../tor-config", version = "0.22.0" }
tor-keymgr = { path = "../tor-keymgr", version = "0.22.0", default-features = false }
tor-netdir = { path = "../tor-netdir", version = "0.22.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.22.0" }
tor-proto = { path = "../tor-proto", version = "0.22.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.22.0" }

[dev-dependencies]

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