-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
60 lines (52 loc) · 1.47 KB
/
Cargo.toml
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
54
55
56
57
58
59
[package]
authors = ["eV <[email protected]>"]
edition = "2018"
name = "challenge-bypass-ristretto"
version = "2.0.0"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/brave-intl/challenge-bypass-ristretto"
documentation = "https://docs.rs/challenge-bypass-ristretto"
description = "A rust implemention of the privacy pass cryptographic protocol using the Ristretto group (WIP)"
exclude = [
".gitignore",
".travis.yml",
]
[dependencies]
crypto-mac = "0.11"
curve25519-dalek = { version = "4", default-features = false, features = ["precomputed-tables", "zeroize", "rand_core", "digest"]}
digest = "0.10"
hmac = "0.12"
rand = { version = "0.8", default-features = false }
rand_core = "0.6"
rand_chacha = "0.3"
subtle = { version = "^2.2", default-features = false }
zeroize = "1.3"
[dependencies.base64]
optional = true
version = "0.13"
[dependencies.serde]
optional = true
version = "^1.0.0"
default-features = false
[dev-dependencies]
serde_json = "1.0"
serde = { version = "^1.0.0", features = ["derive"] }
sha2 = "0.10"
base64 = "0.13"
rand = { version = "0.8", default-features = true }
criterion = { version = "0.5", features = ["html_reports"] }
[features]
default = ["std"]
std = ["alloc", "subtle/std"]
alloc = ["curve25519-dalek/alloc"]
serde_base64 = ["serde", "base64"]
[package.metadata.docs.rs]
rustdoc-args = [
"--document-private-items",
"--html-in-header",
"./rustdoc-include-katex-header.html",
]
[[bench]]
name = "benchmarks"
harness = false