tor-ptmgr 0.40.0

Manage a set of pluggable transports to circumvent censorship
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-ptmgr"
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 = "Manage a set of pluggable transports to circumvent censorship"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
    "censorship",
]
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 = [
    "managed-pts",
    "tor-channel-factory",
]
experimental = ["experimental-api"]
experimental-api = [
    "visibility",
    "__is_experimental",
]
full = [
    "tor-channel-factory",
    "managed-pts",
    "fs-mistrust/full",
    "tor-chanmgr/full",
    "tor-config/full",
    "tor-error/full",
    "tor-linkspec/full",
    "tor-rtcompat/full",
    "tor-socksproto/full",
    "tor-async-utils/full",
    "tor-basic-utils/full",
    "oneshot-fused-workaround/full",
    "tor-config-path/full",
    "tor-proto/full",
]
managed-pts = []
tor-channel-factory = []

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

[[example]]
name = "run-pt"
path = "examples/run-pt.rs"
required-features = ["experimental-api"]

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

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.derive-deftly]
version = "~1.6.0"
features = [
    "full",
    "beta",
]

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

[dependencies.fs-mistrust]
version = "0.14.0"

[dependencies.futures]
version = "0.3.14"

[dependencies.itertools]
version = "0.14.0"

[dependencies.oneshot-fused-workaround]
version = "0.6.0"

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

[dependencies.thiserror]
version = "2"

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

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

[dependencies.tor-chanmgr]
version = "0.40.0"
features = ["pt-client"]

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

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

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

[dependencies.tor-linkspec]
version = "0.40.0"
features = ["pt-client"]

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

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

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

[dependencies.tracing]
version = "0.1.36"

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

[dev-dependencies.anyhow]
version = "1.0.23"

[dev-dependencies.tokio]
version = "1.7"
features = [
    "rt",
    "rt-multi-thread",
    "io-util",
    "net",
    "time",
    "macros",
]

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

[dev-dependencies.tracing-subscriber]
version = "0.3.20"