summaryrefslogtreecommitdiff
path: root/crates/tor-ptmgr/Cargo.toml
blob: c2d8c38676a1b4c9a1bd034cff617fe8a830f40a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "tor-ptmgr"
version = "0.36.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
rust-version = "1.86"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Manage a set of pluggable transports to circumvent censorship"
keywords = ["tor", "arti", "censorship"]
categories = ["network-programming", "cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = ["managed-pts", "tor-channel-factory"]
tor-channel-factory = []
managed-pts = []
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",
]

experimental = ["experimental-api"]
experimental-api = ["visibility", "__is_experimental"]
__is_experimental = []

[dependencies]
async-trait = "0.1.54"
cfg-if = "1.0.0"
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
fs-mistrust = { version = "0.13.0", path = "../fs-mistrust" }
futures = "0.3.14"
itertools = "0.14.0"
oneshot-fused-workaround = { path = "../oneshot-fused-workaround", version = "0.5.0" }
serde = { version = "1.0.103", features = ["derive"] }
thiserror = "2"
tor-async-utils = { version = "0.36.0", path = "../tor-async-utils" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.36.0" }
tor-chanmgr = { version = "0.36.0", path = "../tor-chanmgr", features = ["pt-client"] }
tor-config = { version = "0.36.0", path = "../tor-config" }
tor-config-path = { version = "0.36.0", path = "../tor-config-path" }
tor-error = { version = "0.36.0", path = "../tor-error", features = ["tracing"] }
tor-linkspec = { version = "0.36.0", path = "../tor-linkspec", features = ["pt-client"] }
tor-rtcompat = { version = "0.36.0", path = "../tor-rtcompat" }
tor-socksproto = { version = "0.36.0", path = "../tor-socksproto" }
tracing = "0.1.36"
visibility = { version = "0.1.0", optional = true }

[dev-dependencies]
anyhow = "1.0.23"
tokio = { version = "1.7", features = ["rt", "rt-multi-thread", "io-util", "net", "time", "macros"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.36.0", features = ["tokio", "native-tls"] }
tracing-subscriber = "0.3.20"

[[example]]
name = "run-pt"
required-features = ["experimental-api"]