forked from sigp/milagro_bls
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
37 lines (33 loc) · 1.28 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
[package]
name = "snowbridge-milagro-bls"
version = "1.5.4"
authors = ["Lovesh Harchandani <[email protected]>", "Kirk Baird <[email protected]>", "Paul Hauner <[email protected]>"]
description = "BLS12-381 signatures using the Apache Milagro curve library, targeting Ethereum 2.0"
license = "Apache-2.0"
repository = "https://github.com/Snowfork/milagro_bls.git"
edition = "2021"
[[bench]]
name = "bls381_benches"
harness = false
[dependencies]
amcl = { package = "snowbridge-amcl", version="1.0.2", default-features = false, features = ["bls381"]}
hex = { version = "0.4.0", optional = true }
lazy_static = { version = "1.4.0", optional = true }
rand = { version = "0.8.5", default-features = false }
zeroize = "1.0.0"
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"] }
# This cannot be specified as dev-dependencies. Otherwise a cargo bug will always resolve `rand` with `std` feature, which breaks `no_std` builds.
criterion = { version = "0.4.0", optional = true }
[features]
default = ["std"]
bench = ["criterion"]
std = [
"rand/std",
"rand/std_rng",
"lazy_static",
"hex",
"codec/std",
"scale-info/std",
"amcl/std",
]