mirror of
https://github.com/selfxyz/self.git
synced 2026-02-08 21:35:13 -05:00
52 lines
1.5 KiB
TOML
52 lines
1.5 KiB
TOML
[package]
|
|
name = "mopro-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[patch.crates-io]
|
|
# NOTE: Forked wasmer to work around memory limits
|
|
# See https://github.com/wasmerio/wasmer/commit/09c7070
|
|
wasmer = { git = "https://github.com/oskarth/wasmer.git", rev = "09c7070" }
|
|
|
|
[features]
|
|
default = []
|
|
dylib = ["wasmer/dylib"]
|
|
|
|
[dependencies]
|
|
ark-circom = { git = "https://github.com/arkworks-rs/circom-compat.git" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
ark-serialize = { version = "=0.4.1", features = ["derive"] }
|
|
num-bigint = { version = "=0.4.3", default-features = false, features = [
|
|
"rand",
|
|
] }
|
|
instant = "0.1"
|
|
wasmer = { git = "https://github.com/oskarth/wasmer.git", rev = "09c7070" }
|
|
once_cell = "1.8"
|
|
|
|
# ZKP generation
|
|
ark-ec = { version = "=0.4.1", default-features = false, features = [
|
|
"parallel",
|
|
] }
|
|
ark-crypto-primitives = { version = "=0.4.0" }
|
|
ark-std = { version = "=0.4.0", default-features = false, features = [
|
|
"parallel",
|
|
] }
|
|
ark-bn254 = { version = "=0.4.0" }
|
|
ark-groth16 = { version = "=0.4.0", default-features = false, features = [
|
|
"parallel",
|
|
] }
|
|
ark-relations = { version = "0.4", default-features = false }
|
|
ark-zkey = { path = "../ark-zkey" }
|
|
|
|
# Error handling
|
|
thiserror = "=1.0.39"
|
|
color-eyre = "=0.6.2"
|
|
criterion = "=0.3.6"
|
|
|
|
[build-dependencies]
|
|
color-eyre = "0.6"
|
|
enumset = "1.0.8"
|
|
wasmer = { git = "https://github.com/oskarth/wasmer.git", rev = "09c7070" }
|