[dependencies.amplify]
default-features = false
features = ["derive"]
version = "4"
[dependencies.bitflags]
version = "2"
[dependencies.bytes]
version = "1"
[dependencies.caret]
version = "0.5.0"
[dependencies.derive-deftly]
version = "0.14.2"
[dependencies.derive_more]
features = ["full"]
version = "1.0.0"
[dependencies.educe]
version = "0.4.6"
[dependencies.paste]
version = "1"
[dependencies.rand]
version = "0.8"
[dependencies.smallvec]
version = "1.10"
[dependencies.thiserror]
version = "2"
[dependencies.tor-basic-utils]
version = "0.27.0"
[dependencies.tor-bytes]
version = "0.27.0"
[dependencies.tor-cert]
version = "0.27.0"
[dependencies.tor-error]
version = "0.27.0"
[dependencies.tor-hscrypto]
features = ["memquota-memcost"]
optional = true
version = "0.27.0"
[dependencies.tor-linkspec]
version = "0.27.0"
[dependencies.tor-llcrypto]
features = ["memquota-memcost"]
version = "0.27.0"
[dependencies.tor-memquota]
default-features = false
version = "0.27.0"
[dependencies.tor-units]
features = ["memquota-memcost"]
version = "0.27.0"
[dependencies.void]
version = "1"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.hex-literal]
version = "0.4"
[features]
__is_experimental = []
default = []
experimental = ["experimental-udp", "hs", "hs-pow-full", "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", "tor-memquota/full"]
hs = ["tor-hscrypto", "__is_experimental"]
hs-pow-full = ["tor-hscrypto/hs-pow-full", "__is_experimental"]
testing = ["experimental-udp", "__is_experimental"]
[lib]
name = "tor_cell"
path = "src/lib.rs"
[package]
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parser-implementations", "network-programming"]
description = "Encode and decode Tor cells and messages"
edition = "2021"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
keywords = ["tor", "arti", "protocol"]
license = "MIT OR Apache-2.0"
name = "tor-cell"
readme = "README.md"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
rust-version = "1.77"
version = "0.27.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "test_chancell"
path = "tests/test_chancell.rs"
[[test]]
name = "test_relaycell"
path = "tests/test_relaycell.rs"
[[test]]
name = "testvec_chanmsg"
path = "tests/testvec_chanmsg.rs"
[[test]]
name = "testvec_relaymsg"
path = "tests/testvec_relaymsg.rs"