summaryrefslogtreecommitdiff
path: root/crates/tor-relay-selection/Cargo.toml
blob: c05a7ce63d2d497288d3c707c04bad96cdef0d06 (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
[package]
name = "tor-relay-selection"
version = "0.34.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Logic to select Tor relays for specific purposes"
keywords = ["tor", "arti"]
categories = ["network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []
full = [
    "vanguards",
    "tor-basic-utils/full",
    "tor-geoip?/full",
    "tor-linkspec/full",
    "tor-netdir/full",
    "tor-netdoc/full",
]

vanguards = []

experimental = ["geoip"]
geoip = ["tor-geoip", "tor-netdir/geoip", "__is_experimental"]
__is_experimental = []

[dependencies]
rand = "0.9.1"
serde = { version = "1.0.103", features = ["derive"] }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.34.0" }
tor-geoip = { path = "../tor-geoip", version = "0.34.0", optional = true }
tor-linkspec = { path = "../tor-linkspec", version = "0.34.0" }
tor-netdir = { path = "../tor-netdir", version = "0.34.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.34.0" }

[dev-dependencies]
tor-basic-utils = { path = "../tor-basic-utils", version = "0.34" }
tor-netdir = { path = "../tor-netdir", version = "0.34.0", features = ["testing"] }
tor-netdoc = { path = "../tor-netdoc", version = "0.34.0", features = ["testing"] }

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