64 lines
1.8 KiB
TOML
64 lines
1.8 KiB
TOML
[package]
|
|
name = "tor-cell"
|
|
version = "0.12.1"
|
|
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
|
|
edition = "2021"
|
|
rust-version = "1.65"
|
|
license = "MIT OR Apache-2.0"
|
|
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
|
|
description = "Encode and decode Tor cells and messages"
|
|
keywords = ["tor", "arti", "protocol"]
|
|
categories = ["parser-implementations", "network-programming"]
|
|
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
experimental = ["experimental-udp", "hs", "testing"]
|
|
# Enable experimental UDP support.
|
|
experimental-udp = ["__is_experimental"]
|
|
|
|
# "hs" = (all) hidden service support, either client or server
|
|
hs = ["tor-hscrypto", "__is_experimental"]
|
|
|
|
# Enable testing only API
|
|
testing = ["experimental-udp", "__is_experimental"]
|
|
|
|
full = [
|
|
"caret/full",
|
|
"tor-basic-utils/full",
|
|
"tor-bytes/full",
|
|
"tor-cert/full",
|
|
"tor-error/full",
|
|
"tor-hscrypto?/full",
|
|
"tor-linkspec/full",
|
|
"tor-llcrypto/full",
|
|
"tor-units/full",
|
|
]
|
|
__is_experimental = []
|
|
|
|
[dependencies]
|
|
bitflags = "2"
|
|
bytes = "1"
|
|
caret = { path = "../caret", version = "0.4.1" }
|
|
derive_more = "0.99.3"
|
|
educe = "0.4.6"
|
|
paste = "1"
|
|
rand = "0.8"
|
|
thiserror = "1"
|
|
tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.3" }
|
|
tor-bytes = { path = "../tor-bytes", version = "0.7.2" }
|
|
tor-cert = { path = "../tor-cert", version = "0.7.2" }
|
|
tor-error = { path = "../tor-error", version = "0.5.3" }
|
|
tor-hscrypto = { path = "../tor-hscrypto", version = "0.3.0", optional = true }
|
|
tor-linkspec = { path = "../tor-linkspec", version = "0.8.2" }
|
|
tor-llcrypto = { path = "../tor-llcrypto", version = "0.5.2" }
|
|
tor-units = { path = "../tor-units", version = "0.6.1" }
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|
|
hex-literal = "0.4"
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|