-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathCargo.toml
42 lines (36 loc) · 879 Bytes
/
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
[package]
name = "ecies"
version = "0.2.0"
# docs
authors = ["Weiliang Li <to.be.impressive@gmail.com>"]
description = "Elliptic Curve Integrated Encryption Scheme for secp256k1 in Rust"
edition = "2018"
license = "MIT"
readme = "README.md"
# links
documentation = "https://docs.rs/ecies/latest/ecies/"
homepage = "https://ecies.org/rs/"
repository = "https://github.com/ecies/rs"
[dependencies]
hkdf = "0.10.0"
libsecp256k1 = "0.3.5"
rand = "0.7.3"
sha2 = "0.9.2"
# openssl aes
openssl = {version = "0.10", optional = true}
# pure rust aes
aes-gcm = {version = "0.8.0", optional = true}
cipher = {version = "0.2", optional = true}
[features]
default = ["openssl"]
pure = ["aes-gcm", "cipher"]
[dev-dependencies]
criterion = "0.3.3"
futures-util = "0.3.8"
hex = "0.4.2"
reqwest = "0.10.9"
tokio = "0.2.22"
[[bench]]
harness = false
name = "simple"
path = "bench/simple.rs"