summaryrefslogtreecommitdiff
path: root/crates/tor-bytes/Cargo.toml
blob: a425cbc40e5c849b6ac206f7cdc81dbd6ed5b9f0 (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
[package]
name = "tor-bytes"
version = "0.6.2"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.60"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Helpers for encoding and decoding byte-orientted data, as used by Tor"
keywords = ["tor", "arti", "encoding"]
categories = ["parsing", "encoding"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[dependencies]
arrayref = "0.3"
bytes = "1"
digest = { version = "0.10.0", features = ["subtle", "mac"] }
educe = "0.4.6"
generic-array = "0.14.3"
signature = "1"
thiserror = "1"
tor-error = { path = "../tor-error", version = "0.4.1" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.4.2" }
zeroize = "1"

[dev-dependencies]
hex-literal = "0.3"

[target.wasm32-unknown-unknown.dependencies]
getrandom = { version = "0.2.3", features = ["js"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]