2020-05-08 00:58:10 +01:00
|
|
|
[package]
|
|
|
|
name = "tor-llcrypto"
|
2022-08-01 14:56:29 +01:00
|
|
|
version = "0.3.3"
|
2021-03-17 18:43:40 +00:00
|
|
|
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
|
2022-04-25 17:19:02 +01:00
|
|
|
edition = "2021"
|
2022-04-25 17:10:41 +01:00
|
|
|
rust-version = "1.56"
|
2020-05-08 00:58:10 +01:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-03-17 18:13:26 +00:00
|
|
|
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
|
2021-03-17 18:31:59 +00:00
|
|
|
description = "Low level cryptography wrappers used by Tor"
|
2022-04-25 17:03:41 +01:00
|
|
|
keywords = ["tor", "arti", "cryptography"]
|
|
|
|
categories = ["cryptography"]
|
|
|
|
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
|
2020-05-08 00:58:10 +01:00
|
|
|
|
2021-11-12 15:44:14 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2022-05-28 19:55:23 +01:00
|
|
|
with-openssl = ["openssl", "typenum", "cipher"]
|
2022-06-13 15:13:13 +01:00
|
|
|
with-sha1-asm = ["sha-1/asm"]
|
2021-11-12 15:44:14 +00:00
|
|
|
|
|
|
|
# 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 = []
|
|
|
|
|
2020-05-08 00:58:10 +01:00
|
|
|
[dependencies]
|
2022-08-01 17:13:05 +01:00
|
|
|
aes = { version = "0.8", features = ["zeroize"] }
|
2022-01-07 20:54:24 +00:00
|
|
|
arrayref = "0.3"
|
2020-10-15 18:32:02 +01:00
|
|
|
base64 = "0.13.0"
|
2022-08-01 17:13:05 +01:00
|
|
|
cipher = { version = "0.4.3", optional = true, features = ["zeroize"] }
|
|
|
|
ctr = { version = "0.9", features = ["zeroize"] }
|
2022-05-28 17:41:39 +01:00
|
|
|
curve25519-dalek = "3.2"
|
2021-12-08 01:33:46 +00:00
|
|
|
digest = "0.10.0"
|
2022-01-07 20:54:24 +00:00
|
|
|
ed25519-dalek = { version = "1", features = ["batch"] }
|
|
|
|
hex = "0.4"
|
2021-03-18 17:14:53 +00:00
|
|
|
old_rand_core = { package = "rand_core", version = "0.5.1" }
|
2022-05-28 19:55:23 +01:00
|
|
|
openssl = { version = "0.10.30", optional = true }
|
2022-05-28 17:41:39 +01:00
|
|
|
rand_core = "0.6.2"
|
2022-07-05 11:57:10 +01:00
|
|
|
rsa = "0.6.0"
|
2022-05-28 17:41:39 +01:00
|
|
|
serde = "1.0.103"
|
2021-12-08 01:33:46 +00:00
|
|
|
sha-1 = "0.10.0"
|
|
|
|
sha2 = "0.10.0"
|
|
|
|
sha3 = "0.10.0"
|
2022-01-07 20:54:24 +00:00
|
|
|
signature = "1"
|
|
|
|
simple_asn1 = "0.6"
|
|
|
|
subtle = "2"
|
2022-05-28 17:41:39 +01:00
|
|
|
thiserror = "1"
|
2022-05-28 19:55:23 +01:00
|
|
|
typenum = { version = "1.15.0", optional = true }
|
2022-07-05 11:57:10 +01:00
|
|
|
x25519-dalek = "2.0.0-pre.1"
|
2022-01-07 20:54:24 +00:00
|
|
|
zeroize = "1"
|
2020-05-08 00:58:10 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-05-28 17:41:39 +01:00
|
|
|
cipher = "0.4.1"
|
2022-01-07 20:54:24 +00:00
|
|
|
hex-literal = "0.3"
|
|
|
|
rand = "0.8"
|
2021-03-06 13:55:13 +00:00
|
|
|
serde_test = "1.0.124"
|
2022-08-01 14:56:29 +01:00
|
|
|
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.3" }
|
2020-05-08 17:35:08 +01:00
|
|
|
|
2021-09-08 11:57:20 +01:00
|
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
|
|
getrandom = { version = "0.2.3", features = ["js"] }
|
2022-08-17 20:13:13 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|