-
Notifications
You must be signed in to change notification settings - Fork 22
/
Cargo.toml
41 lines (35 loc) · 1.18 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
[package]
name = "elgamal_ristretto"
version = "0.2.4"
authors = ["Inigo Querejeta Azurmendi <[email protected]>", "Gonçalo Pestana <[email protected]>"]
edition = "2018"
exclude = ["**/.gitignore", ".gitignore","/target/*"]
description = "A pure-Rust implementation of ElGamal encryption using the Ristretto group over Curve25519"
readme = "README.md"
keywords = ["cryptography", "elgamal", "additive-homomorphic"]
categories = ["cryptography", "no-std"]
repository = "https://github.com/iquerejeta/elgamal"
license = "MIT"
[dependencies]
curve25519-dalek = { version = "2.0.0", default-features = false, features = ["serde"] }
zkp = "0.7.0"
rand_core = { version = "0.5.1", default-features = false }
sha2 = "0.8.0"
clear_on_drop = { version = "0.2" }
serde = { version = "1.0", features = ["derive"] }
bincode = "1"
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header",
"katex-header.html"
]
[dev-dependencies]
criterion = "0.2"
[[bench]]
name = "elgamal-ristretto"
harness = false
[features]
default = ["std", "u64_backend"]
std = ["curve25519-dalek/std"]
nightly = ["curve25519-dalek/nightly", "clear_on_drop/nightly"]
u64_backend = ["curve25519-dalek/u64_backend"]