tor-dirclient 0.40.0

Downloads specific Tor network directory objects over the Tor network
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-dirclient"
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 = "Downloads specific Tor network directory objects over the Tor network"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
    "download",
    "async",
]
categories = [
    "network-programming",
    "cryptography",
]
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 = [
    "xz",
    "zstd",
]
experimental = []
full = [
    "hs-client",
    "hs-service",
    "xz",
    "zstd",
    "routerdesc",
    "tor-circmgr/full",
    "tor-error/full",
    "tor-hscrypto?/full",
    "tor-linkspec/full",
    "tor-llcrypto/full",
    "tor-netdoc/full",
    "tor-proto/full",
    "tor-rtcompat/full",
]
hs-client = ["tor-hscrypto"]
hs-service = ["tor-hscrypto"]
routerdesc = []
xz = ["async-compression/xz"]
zstd = ["async-compression/zstd"]

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

[dependencies.async-compression]
version = "0.4.0"
features = [
    "futures-io",
    "zlib",
]

[dependencies.base64ct]
version = "1.5.1"

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

[dependencies.futures]
version = "0.3.14"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.0"

[dependencies.httparse]
version = "1.2"

[dependencies.httpdate]
version = "1.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.memchr]
version = "2.5"

[dependencies.thiserror]
version = "2"

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

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

[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-proto]
version = "0.40.0"

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

[dependencies.tracing]
version = "0.1.36"

[dev-dependencies.futures-await-test]
version = "0.3.0"

[dev-dependencies.tor-rtcompat]
version = "0.40.0"
features = [
    "tokio",
    "native-tls",
]

[dev-dependencies.tor-rtmock]
version = "0.40.0"