-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
62 lines (53 loc) · 1.98 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
[package]
name = "ark-blst"
version = "0.1.0"
edition = "2021"
rust-version = "1.63"
license = "MIT OR Apache-2.0"
description = "bls12-381 arkwork wrapper around blst library"
repository = "https://github.com/nikkolasg/ark-blst"
keywords = ["bls12381","bls12-381","snark","arkworks","blst"]
categories = ["cryptography"]
authors = ["nikkolasg","vmx"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
blstrs = { version = "^0.6.1", features = ["__private_bench"] }
ark-bls12-381 = { version = "0.4.0" }
ark-ec = { version = "0.4.0", features = ["parallel", "std"] }
ark-ff = { version = "0.4.0", features = ["parallel","asm","std"]}
ark-std = { version = "0.4.0" }
ark-serialize = { version = "0.4.0" }
blst = { version = "=0.3.10", default-features = true }
ec-gpu = { version = "0.2.0", optional = true }
ec-gpu-gen = { version = "0.5.1", optional = true }
num-bigint = "^0.4.3"
ff = "0.12"
num-traits = "^0.2.15"
zeroize = "1.5.7"
rand = "^0.8.5"
hex = "0.4"
byteorder = "1.4.3"
group = "0.12.0"
ark-crypto-primitives = { version = "^0.4", features = ["sponge","r1cs"] }
rand_xorshift = "0.3.0"
[dev-dependencies]
ark-algebra-test-templates = { version = "0.4.0" }
criterion = { version = "0.3", features = ["html_reports"] }
[[bench]]
name = "fields"
harness = false
[[bench]]
name = "group"
harness = false
[build-dependencies]
blstrs = { version = "^0.6.1", features = ["__private_bench"] }
ec-gpu-gen = "0.5.1"
[features]
default = []
cuda = ["blstrs/gpu", "dep:ec-gpu", "dep:ec-gpu-gen", "ec-gpu-gen?/cuda"]
opencl = ["blstrs/gpu", "dep:ec-gpu", "dep:ec-gpu-gen", "ec-gpu-gen?/opencl"]
[patch.crates-io]
blstrs = { git = "https://github.com/nikkolasg/blstrs", branch = "feat/arkwork" }
ark-ec = { git = "https://github.com/vmx/algebra", branch = "affine-repr-xy-owned" }
ark-ff = { git = "https://github.com/vmx/algebra", branch = "affine-repr-xy-owned" }
ark-serialize = { git = "https://github.com/vmx/algebra", branch = "affine-repr-xy-owned" }