forked from openvm-org/openvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
48 lines (43 loc) · 1.49 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
[package]
name = "openvm-pairing-guest"
description = "OpenVM guest library for elliptic curve pairing"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
[dependencies]
openvm = { workspace = true }
openvm-platform = { workspace = true }
serde = { workspace = true }
itertools = { workspace = true, features = ["use_alloc"] }
rand.workspace = true
strum_macros.workspace = true
hex-literal = { workspace = true }
openvm-algebra-guest = { workspace = true }
openvm-algebra-moduli-setup = { workspace = true }
openvm-ecc-guest = { workspace = true }
openvm-ecc-sw-setup = { workspace = true }
openvm-algebra-complex-macros = { workspace = true }
openvm-rv32im-guest = { workspace = true }
# Used for `halo2curves` feature
# TODO[yj]: transition to PSE halo2curves
halo2curves-axiom = { workspace = true, optional = true }
group = "0.13.0"
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
num-bigint-dig.workspace = true
num-bigint.workspace = true
num-traits.workspace = true
lazy_static.workspace = true
openvm-ecc-guest = { workspace = true, features = ["halo2curves"] }
[target.'cfg(not(target_os = "zkvm"))'.dev-dependencies]
subtle = "2.6.1"
[features]
default = []
std = ["openvm/std"]
# TODO[yj]: Switch to PSE `halo2curves`
halo2curves = ["bls12_381", "bn254", "dep:halo2curves-axiom"]
# features to enable specific curves in guest programs
# only enable for the curves you use as it affects the init! macro
bn254 = []
bls12_381 = []