-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (50 loc) · 1.64 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
[package]
name = "bls12_381_relic"
description = "Bindings for BLS12-381 implemented by relic"
version = "0.1.2"
authors = ["Sebastian Ramacher <[email protected]>"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/ait-crypto/bls12_381_relic/"
edition = "2021"
keywords = ["pairings", "BLS12-381", "relic"]
categories = ["cryptography", "api-bindings", "no-std"]
rust-version = "1.70"
[dependencies]
generic-array = { version = "1", default-features = false, features = [
"const-default",
] }
librelic-sys = { path = "librelic-sys", version = "0.1.1", default-features = false }
pairing = { version = "0.23" }
rand_core = { version = "0.6", default-features = false }
subtle = { version = "2", default-features = false, features = [
"const-generics",
] }
thiserror = { version = "2", default-features = false, optional = true }
zeroize = { version = "1", default-features = false, optional = true }
serde = { version = "1", default-features = false, optional = true }
[dev-dependencies]
rand = "0.8"
signature = { version = "2.0", default-features = false }
criterion = { version = "0.5", default-features = false }
bls12_381 = { version = "0.8", default-features = false, features = [
"pairings",
"alloc",
] }
bincode = { version = "1", default-features = false }
[features]
alloc = []
std = ["alloc", "dep:thiserror"]
default = ["std", "system"]
serde = ["dep:serde"]
zeroize = ["dep:zeroize"]
# from librelic-sys
system = ["librelic-sys/system"]
vendored = ["librelic-sys/vendored"]
[[bench]]
name = "engine"
harness = false
required-features = ["std"]
[package.metadata.docs.rs]
all-features = true
[workspace]
members = ["librelic-sys"]