tor-bytes 0.39.0

Helpers for encoding and decoding byte-orientted data, as used by Tor
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.86"
name = "tor-bytes"
version = "0.39.0"
authors = [
    "The Tor Project, Inc.",
    "Nick Mathewson <nickm@torproject.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helpers for encoding and decoding byte-orientted data, as used by Tor"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
    "encoding",
]
categories = [
    "parsing",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["tor-llcrypto"]
full = [
    "tor-error/full",
    "tor-llcrypto/full",
    "safelog/full",
    "tor-llcrypto?/full",
]

[lib]
name = "tor_bytes"
path = "src/lib.rs"

[dependencies.bytes]
version = "1"

[dependencies.derive-deftly]
version = "~1.6.0"
features = [
    "full",
    "beta",
]

[dependencies.digest]
version = "0.10.0"
features = [
    "subtle",
    "mac",
]

[dependencies.educe]
version = "0.4.22"

[dependencies.safelog]
version = "0.7.0"

[dependencies.thiserror]
version = "2"

[dependencies.tor-error]
version = "0.39.0"
default-features = false

[dependencies.tor-llcrypto]
version = "0.39.0"
optional = true

[dependencies.zeroize]
version = "1"
features = ["derive"]

[dev-dependencies.hex-literal]
version = "1.0"

[target.wasm32-unknown-unknown.dependencies.getrandom]
version = "0.3.2"