# 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.86"
name = "arti-relay"
version = "0.39.0"
authors = ["The Tor Project, Inc."]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for running a relay of the Tor network"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
    "privacy",
    "anonymity",
    "networking",
]
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]
full = [
    "fs-mistrust/full",
    "safelog/full",
    "tor-chanmgr/full",
    "tor-config/full",
    "tor-error/full",
    "tor-keymgr/full",
    "tor-netdir/full",
    "tor-netdoc/full",
    "tor-proto/full",
    "tor-relay-crypto/full",
    "tor-rtcompat/full",
    "tor-memquota/full",
    "tor-config-path/full",
    "tor-llcrypto/full",
    "tor-persist/full",
    "tor-general-addr/full",
    "tor-circmgr/full",
    "tor-dircommon/full",
    "tor-dirmgr/full",
    "tor-guardmgr/full",
    "tor-log-ratelim/full",
]

[[bin]]
name = "arti-relay"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.23"

[dependencies.clap]
version = "4.3.24"
features = [
    "string",
    "wrap_help",
    "derive",
]

[dependencies.derive_builder]
version = "0.11.2"
package = "derive_builder_fork_arti"

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

[dependencies.directories]
version = "6"

[dependencies.fs-mistrust]
version = "0.13.1"
features = ["serde"]

[dependencies.futures]
version = "0.3.14"

[dependencies.libc]
version = "0.2"

[dependencies.rand]
version = "0.9.1"

[dependencies.rustls]
version = "0.23.5"
features = [
    "logging",
    "ring",
]
default-features = false

[dependencies.safelog]
version = "0.7.0"

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

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.7"
features = ["signal"]

[dependencies.tor-chanmgr]
version = "0.39.0"
features = ["relay"]

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

[dependencies.tor-config]
version = "0.39.0"

[dependencies.tor-config-path]
version = "0.39.0"

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

[dependencies.tor-dirmgr]
version = "0.39.0"

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

[dependencies.tor-general-addr]
version = "0.39.0"

[dependencies.tor-guardmgr]
version = "0.39.0"

[dependencies.tor-keymgr]
version = "0.39.0"
features = [
    "keymgr",
    "ephemeral-keystore",
]

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

[dependencies.tor-log-ratelim]
version = "0.39.0"

[dependencies.tor-memquota]
version = "0.39.0"

[dependencies.tor-netdir]
version = "0.39.0"

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

[dependencies.tor-persist]
version = "0.39.0"
features = ["state-dir"]

[dependencies.tor-proto]
version = "0.39.0"
features = ["tokio"]

[dependencies.tor-relay-crypto]
version = "0.39.0"

[dependencies.tor-rtcompat]
version = "0.39.0"
features = [
    "rustls",
    "tokio",
]

[dependencies.tracing]
version = "0.1.36"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]

[dependencies.void]
version = "1"

[dev-dependencies]
