summaryrefslogtreecommitdiff
path: root/crates/tor-socksproto/Cargo.toml
blob: 116314d02c1fedc3abe449cb92b113690a42d1d7 (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
[package]
name = "tor-socksproto"
version = "0.26.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 = "Encode and decode the SOCKS protocol, as extended in Tor"
keywords = ["tor", "arti", "socks"]
categories = ["network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = ["proxy-handshake"]

client-handshake = []
proxy-handshake = []

full = ["proxy-handshake", "client-handshake", "caret/full", "tor-bytes/full", "tor-error/full", "safelog/full"]

[dependencies]
amplify = { version = "4", default-features = false, features = ["derive"] }
arbitrary = { version = "1.0.1", optional = true, features = ["derive"] }
caret = { path = "../caret", version = "0.5.0" }
derive-deftly = "0.14"
educe = "0.4.6"
safelog = { path = "../safelog", version = "0.4.2" }
subtle = "2"
thiserror = "2"
tor-bytes = { path = "../tor-bytes", version = "0.26.0", default-features = false }
tor-error = { path = "../tor-error", version = "0.26.0", default-features = false }

[dev-dependencies]
anyhow = "1.0.75"
hex-literal = "0.4"
[package.metadata.docs.rs]
all-features = true