tor-netdir 0.40.0

Types to represent and use a Tor network directory
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "tor-netdir"
version = "0.40.0"
authors = [
    "The Tor Project, Inc.",
    "Nick Mathewson <nickm@torproject.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Types to represent and use a Tor network directory"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

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

[features]
__is_experimental = []
default = []
experimental = [
    "experimental-api",
    "testing",
    "geoip",
]
experimental-api = [
    "visibility",
    "__is_experimental",
]
full = [
    "hs-client",
    "hs-service",
    "tor-basic-utils/full",
    "tor-error/full",
    "tor-hscrypto?/full",
    "tor-linkspec/full",
    "tor-llcrypto/full",
    "tor-netdoc/full",
    "tor-protover/full",
    "tor-units/full",
    "tor-geoip?/full",
]
geoip = [
    "tor-geoip",
    "__is_experimental",
]
hs-client = ["hs-common"]
hs-common = [
    "digest",
    "hex",
    "time",
    "tor-hscrypto",
    "tor-linkspec/decode",
    "tor-linkspec/verbatim",
]
hs-service = [
    "hs-common",
    "tor-hscrypto/ope",
]
testing = [
    "hex",
    "postage",
    "tor-netdoc/build_docs",
    "__is_experimental",
]

[lib]
name = "tor_netdir"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1.54"

[dependencies.bitflags]
version = "2"

[dependencies.derive_more]
version = "2.0.1"
features = ["full"]

[dependencies.digest]
version = "0.10.0"
optional = true

[dependencies.futures]
version = "0.3.14"

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.humantime]
version = "2"

[dependencies.itertools]
version = "0.14.0"

[dependencies.num_enum]
version = "0.7"

[dependencies.postage]
version = "0.5.0"
features = ["futures-traits"]
optional = true
default-features = false

[dependencies.rand]
version = "0.9.1"

[dependencies.serde]
version = "1.0.103"
features = ["derive"]

[dependencies.strum]
version = "0.27.1"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3.47"
features = ["macros"]
optional = true

[dependencies.tor-basic-utils]
version = "0.40.0"

[dependencies.tor-error]
version = "0.40.0"

[dependencies.tor-geoip]
version = "0.40.0"
optional = true

[dependencies.tor-hscrypto]
version = "0.40.0"
optional = true

[dependencies.tor-linkspec]
version = "0.40.0"

[dependencies.tor-llcrypto]
version = "0.40.0"

[dependencies.tor-netdoc]
version = "0.40.0"

[dependencies.tor-protover]
version = "0.40.0"

[dependencies.tor-units]
version = "0.40.0"

[dependencies.tracing]
version = "0.1.36"

[dependencies.typed-index-collections]
version = "3.2.3"

[dependencies.visibility]
version = "0.1.0"
optional = true

[dev-dependencies.float_eq]
version = "1.0.0"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.hex-literal]
version = "1.0"

[dev-dependencies.tor-netdoc]
version = "0.40.0"
features = ["build_docs"]