forked from sigp/incubator-milagro-crypto-rust
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
95 lines (84 loc) · 1.78 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "snowbridge-amcl"
version = "1.0.2"
authors = ["Nikita Khateev <[email protected]>", "Kirk Baird <[email protected]>"]
description = "The Apache Milagro Cryptographic Library (version 3)"
license = "Apache-2.0"
repository = "https://github.com/Snowfork/incubator-milagro-crypto-rust.git"
edition = "2021"
[dependencies]
codec = { version = "3.6.1", package = "parity-scale-codec", default-features = false, features = ["derive", "max-encoded-len"] }
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
[dev-dependencies]
hex = "0.3"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
criterion = "0.3.0"
rand = "0.7.2"
[[bench]]
name = "bls381"
harness = false
[[bench]]
name = "ed25519"
harness = false
[[bench]]
name = "goldilocks"
harness = false
[[bench]]
name = "nist256"
harness = false
[[bench]]
name = "bn254"
harness = false
[[bench]]
name = "rsa2048"
harness = false
[[bench]]
name = "rsa3072"
harness = false
[[bench]]
name = "rsa4096"
harness = false
[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std"
]
all = [
"anssi","bls24","bls48","bls381","bls383","bls461","bn254","bn254cx",
"brainpool","c25519","c41417","ed25519","fp256bn","fp512bn","goldilocks","hifive",
"nist256","nist384","nist521","nums256e","nums256w","nums384e","nums384w","nums512e",
"nums512w","rsa2048","rsa3072","rsa4096","secp256k1",
]
anssi = []
bls24 = []
bls48 = []
bls381 = []
bls383 = []
bls461 = []
bn254 = []
bn254cx = []
brainpool = []
c25519 = []
c41417 = []
ed25519 = []
fp256bn = []
fp512bn = []
goldilocks = []
hifive = []
nist256 = []
nist384 = []
nist521 = []
nums256e = []
nums256w = []
nums384e = []
nums384w = []
nums512e = []
nums512w = []
rsa2048 = []
rsa3072 = []
rsa4096 = []
secp256k1 = []
bench = ["all"]