2020-09-07 21:53:06 +01:00
|
|
|
[package]
|
|
|
|
name = "tor-netdir"
|
2022-08-01 14:43:09 +01:00
|
|
|
version = "0.5.0"
|
2021-03-17 18:43:40 +00:00
|
|
|
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
|
2022-04-25 17:19:02 +01:00
|
|
|
edition = "2021"
|
2022-04-25 17:10:41 +01:00
|
|
|
rust-version = "1.56"
|
2020-09-07 21:53:06 +01:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-03-17 18:13:26 +00:00
|
|
|
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
|
2021-03-17 18:31:59 +00:00
|
|
|
description = "Types to represent and use a Tor network directory"
|
2022-04-25 17:03:41 +01:00
|
|
|
keywords = ["tor", "arti"]
|
|
|
|
categories = ["network-programming"]
|
|
|
|
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
|
2020-09-07 21:53:06 +01:00
|
|
|
|
2021-03-30 18:14:15 +01:00
|
|
|
[features]
|
|
|
|
default = []
|
2021-11-11 15:44:24 +00:00
|
|
|
|
2022-06-10 20:26:51 +01:00
|
|
|
experimental = ["experimental-api"]
|
|
|
|
|
2021-11-11 15:44:24 +00:00
|
|
|
# Enable experimental APIs that are not yet officially supported.
|
|
|
|
#
|
|
|
|
# These APIs are not covered by semantic versioning. Using this
|
|
|
|
# feature voids your "semver warrantee".
|
2021-03-30 18:14:15 +01:00
|
|
|
experimental-api = []
|
2021-11-11 15:38:23 +00:00
|
|
|
|
|
|
|
# Enable testing-only APIs. APIs under this feature are not
|
|
|
|
# covered by semver.
|
2022-04-25 17:03:41 +01:00
|
|
|
testing = ["hex", "hex-literal", "tor-netdoc/build_docs"]
|
2021-03-30 18:14:15 +01:00
|
|
|
|
2020-09-07 21:53:06 +01:00
|
|
|
[dependencies]
|
2022-01-07 20:54:24 +00:00
|
|
|
bitflags = "1"
|
2022-05-06 13:18:03 +01:00
|
|
|
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
|
2022-01-07 20:54:24 +00:00
|
|
|
derive_more = "0.99"
|
2022-05-28 17:41:39 +01:00
|
|
|
futures = "0.3.14"
|
2022-01-07 20:54:24 +00:00
|
|
|
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"
|
2022-08-09 20:51:05 +01:00
|
|
|
static_assertions = "1"
|
2022-01-07 20:54:24 +00:00
|
|
|
thiserror = "1"
|
2022-05-28 17:41:39 +01:00
|
|
|
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
|
2022-08-01 14:47:52 +01:00
|
|
|
tor-config = { path = "../tor-config", version = "0.5.0" }
|
2022-07-25 15:55:23 +01:00
|
|
|
tor-error = { path = "../tor-error", version = "0.3.2" }
|
2022-08-01 14:43:09 +01:00
|
|
|
tor-linkspec = { path = "../tor-linkspec", version = "0.4.0" }
|
2022-08-01 14:56:29 +01:00
|
|
|
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.3" }
|
2022-08-01 14:47:52 +01:00
|
|
|
tor-netdoc = { path = "../tor-netdoc", version = "0.5.0" }
|
2022-05-28 17:41:39 +01:00
|
|
|
tor-protover = { path = "../tor-protover", version = "0.3.0" }
|
2022-06-24 17:00:22 +01:00
|
|
|
tor-units = { path = "../tor-units", version = "0.3.1" }
|
2022-01-07 20:54:24 +00:00
|
|
|
tracing = "0.1.18"
|
2020-09-07 21:53:06 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-06-16 13:39:03 +01:00
|
|
|
float_eq = "1.0.0"
|
2022-01-07 20:54:24 +00:00
|
|
|
hex = "0.4"
|
|
|
|
hex-literal = "0.3"
|
|
|
|
rand_chacha = "0.3"
|
2022-08-01 14:56:29 +01:00
|
|
|
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.3" }
|
2022-08-01 14:47:52 +01:00
|
|
|
tor-netdoc = { path = "../tor-netdoc", version = "0.5.0", features = ["build_docs"] }
|