summaryrefslogtreecommitdiff
path: root/crates/tor-bytes/Cargo.toml
blob: f7e43e418a855e922860d5307487803e3651e4cf (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
[package]
name = "tor-bytes"
version = "0.0.3"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2018"
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]
tor-llcrypto = { path = "../tor-llcrypto", version = "0.0.3"}
tor-error = { path="../tor-error", version = "0.0.1" }

arrayref = "0.3"
bytes = "1"
digest = { version = "0.10.0", features = ["subtle", "mac"] }
generic-array = "0.14.3"
signature = "1"
thiserror = "1"

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

[target.wasm32-unknown-unknown.dependencies]
getrandom = { version = "0.2.3", features = ["js"] }