tor-dirserver 0.40.0

Implements dirserver functionality
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 = "2021"
rust-version = "1.89"
name = "tor-dirserver"
version = "0.40.0"
authors = [
    "The Tor Project, Inc.",
    "Clara Engler <cve@torproject.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implements dirserver functionality"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
resolver = "3"

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

[features]
full = [
    "tor-error/full",
    "tor-basic-utils/full",
    "tor-dircommon/full",
    "tor-netdoc/full",
    "retry-error/full",
    "tor-dirclient/full",
    "tor-rtcompat/full",
    "tor-llcrypto/full",
]

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

[dependencies.bytes]
version = "1.10.1"

[dependencies.flate2]
version = "1.1.5"

[dependencies.futures]
version = "0.3.31"

[dependencies.hex]
version = "0.4.3"

[dependencies.http]
version = "1.3.1"

[dependencies.http-body]
version = "1.0.1"

[dependencies.hyper]
version = "1.7.0"
features = [
    "server",
    "http1",
]
default-features = false

[dependencies.hyper-util]
version = "0.1.16"
features = ["full"]

[dependencies.lzma-rs]
version = "0.3.0"

[dependencies.r2d2]
version = "0.8.10"

[dependencies.r2d2_sqlite]
version = "0.32.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.retry-error]
version = "0.11.0"

[dependencies.rusqlite]
version = "0.38.0"

[dependencies.saturating-time]
version = "0.3.0"

[dependencies.sha2]
version = "0.10.9"

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

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.47.1"
features = [
    "full",
    "test-util",
]

[dependencies.tokio-util]
version = "0.7.16"
features = ["compat"]

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

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

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

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

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

[dependencies.tor-netdoc]
version = "0.40.0"
features = [
    "full",
    "experimental",
]

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

[dependencies.tracing]
version = "0.1.41"

[dependencies.weak-table]
version = "0.3.2"

[dependencies.zstd]
version = "0.13.3"

[dev-dependencies.http-body-util]
version = "0.1.3"

[dev-dependencies.lazy_static]
version = "1.5.0"

[dev-dependencies.tempfile]
version = "3.23.0"

[dev-dependencies.tokio-stream]
version = "0.1.17"
features = ["full"]