summaryrefslogtreecommitdiff
path: root/crates/tor-llcrypto/Cargo.toml
blob: 779e24c84ccb2d6157f7db44f61c87324bacf3a0 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "tor-llcrypto"
version = "0.3.1"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.56"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Low level cryptography wrappers used by Tor"
keywords = ["tor", "arti", "cryptography"]
categories = ["cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []

# Enable support for cryptography needed to be a Tor relay.
relay = []

# Enable support for cryptography needed to be an onion service v3 client.
hsv3-client = []

[dependencies]
aes = { version = "0.8" }
arrayref = "0.3"
base64 = "0.13.0"
curve25519-dalek = "3.2"
ctr = "0.9"
digest = "0.10.0"
ed25519-dalek = { version = "1", features = ["batch"] }
hex = "0.4"
rand_core = "0.6.2"
old_rand_core = { package = "rand_core", version = "0.5.1" }
rsa = "0.5.0"
sha-1 = "0.10.0"
sha2 = "0.10.0"
sha3 = "0.10.0"
serde = "1.0.103"
signature = "1"
simple_asn1 = "0.6"
subtle = "2"
x25519-dalek = "1.2"
zeroize = "1"
thiserror = "1"

[dev-dependencies]
hex-literal = "0.3"
rand = "0.8"
cipher = "0.4.1"
serde_test = "1.0.124"

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