summaryrefslogtreecommitdiff
path: root/crates/tor-netdir/Cargo.toml
blob: da0673ff21053268ebac984b8a855b1975e51e3a (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
[package]
name = "tor-netdir"
version = "0.3.1"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.56"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Types to represent and use a Tor network directory"
keywords = ["tor", "arti"]
categories = ["network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []

# 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-api = []

# Enable testing-only APIs.  APIs under this feature are not
# covered by semver.
testing = ["hex", "hex-literal", "tor-netdoc/build_docs"]

[dependencies]
tor-checkable = { path = "../tor-checkable", version = "0.3.0"}
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-protover = { path = "../tor-protover", version = "0.3.0"}
tor-units = { path = "../tor-units", version = "0.3.0"}

bitflags = "1"
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = "0.99"
hex = { version = "0.4", optional = true }
hex-literal = { version = "0.3", optional = true }
rand = "0.8"
serde = { version = "1.0.103", features = ["derive"] }
signature = "1"
thiserror = "1"
tracing = "0.1.18"
futures = "0.3.14"

[dev-dependencies]
hex = "0.4"
hex-literal = "0.3"
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0", features = ["build_docs"] }
rand_chacha = "0.3"