arti/crates/tor-netdir/Cargo.toml

51 lines
1.6 KiB
TOML

[package]
name = "tor-netdir"
version = "0.0.2"
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
edition = "2018"
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.0.2"}
tor-config = { path="../tor-config", version = "0.0.2"}
tor-netdoc = { path="../tor-netdoc", version = "0.0.2"}
tor-linkspec = { path="../tor-linkspec", version = "0.0.2"}
tor-llcrypto = { path="../tor-llcrypto", version = "0.0.2"}
tor-protover = { path="../tor-protover", version = "0.0.2"}
tor-units = { path="../tor-units", version = "0.0.2"}
bitflags = "1.2.1"
derive_builder = "0.10.2"
derive_more = "0.99.0"
hex = { version= "0.4.3", optional = true }
hex-literal = { version= "0.3.1", optional = true }
rand = "0.8.3"
serde = { version = "1.0.124", features = ["derive"] }
signature = "1.3.0"
thiserror = "1.0.24"
tracing = "0.1.26"
[dev-dependencies]
hex = "0.4.3"
hex-literal = "0.3.1"
tor-netdoc = { path="../tor-netdoc", version = "0.0.2", features=["build_docs"] }
rand_chacha = "0.3.1"