summaryrefslogtreecommitdiff
path: root/crates/tor-chanmgr/Cargo.toml
blob: 2baf6bef099467f1df8c330ae502436d7f1875bc (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "tor-chanmgr"
version = "0.27.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.77"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Manage a set of connections to the Tor network"
keywords = ["tor", "arti", "async"]
categories = ["network-programming", "cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []
experimental = ["experimental-api", "relay", "testing"]
experimental-api = ["__is_experimental"]
full = [
    "pt-client",
    "safelog/full",
    "tor-basic-utils/full",
    "tor-cell/full",
    "tor-config/full",
    "tor-error/full",
    "tor-linkspec/full",
    "tor-llcrypto/full",
    "tor-netdir/full",
    "tor-proto/full",
    "tor-rtcompat/full",
    "tor-socksproto/full",
    "tor-units/full",
    "tor-async-utils/full",
    "oneshot-fused-workaround/full",
    "tor-memquota/full",
    "caret/full",
]

pt-client = ["tor-linkspec/pt-client"]

relay = ["__is_experimental"]
testing = ["__is_experimental"]
__is_experimental = []

[dependencies]
async-trait = "0.1.54"
caret = { path = "../caret", version = "0.5.0" }
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = { version = "1.0.0", features = ["full"] }
educe = "0.4.6"
futures = "0.3.14"
oneshot-fused-workaround = { path = "../oneshot-fused-workaround", version = "0.2.0" }
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
rand = "0.8"
safelog = { path = "../safelog", version = "0.4.2" }
serde = { version = "1.0.103", features = ["derive"] }
thiserror = "2"
tor-async-utils = { version = "0.27.0", path = "../tor-async-utils" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.27.0" }
tor-cell = { path = "../tor-cell", version = "0.27.0" }
tor-config = { path = "../tor-config", version = "0.27.0" }
tor-error = { path = "../tor-error", version = "0.27.0", features = ["tracing"] }
tor-linkspec = { path = "../tor-linkspec", version = "0.27.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.27.0" }
tor-memquota = { version = "0.27.0", path = "../tor-memquota", default-features = false }
tor-netdir = { path = "../tor-netdir", version = "0.27.0" }
tor-proto = { path = "../tor-proto", version = "0.27.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.27.0" }
tor-socksproto = { path = "../tor-socksproto", version = "0.27.0", default-features = false, features = [
    "client-handshake",
] }
tor-units = { path = "../tor-units", version = "0.27.0" }
tracing = "0.1.36"
void = "1"

[dev-dependencies]
float_eq = "1.0.0"
futures-await-test = "0.3.0"
hex-literal = "0.4"
itertools = "0.14.0"
tor-cell = { path = "../tor-cell", version = "0.27.0", features = ["testing"] }
tor-netdir = { path = "../tor-netdir", version = "0.27.0", features = ["testing"] }
tor-proto = { path = "../tor-proto", version = "0.27.0", features = ["testing"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.27.0", features = ["tokio", "native-tls"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.27.0" }
[package.metadata.docs.rs]
all-features = true