60 lines
2.6 KiB
TOML
60 lines
2.6 KiB
TOML
[package]
|
|
name = "zokrates_core"
|
|
version = "0.5.3"
|
|
edition = "2018"
|
|
authors = ["Jacob Eberhardt <jacob.eberhardt@tu-berlin.de>", "Dennis Kuhnert <mail@kyroy.com>"]
|
|
repository = "https://github.com/JacobEberhardt/ZoKrates"
|
|
readme = "README.md"
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
default = ["bellman", "ark"]
|
|
libsnark = ["cc", "cmake", "git2"]
|
|
bellman = ["bellman_ce", "pairing_ce", "ff_ce", "zokrates_field/bellman"]
|
|
wasm = ["bellman_ce/nolog", "bellman_ce/wasm"]
|
|
multicore = ["bellman_ce/multicore"]
|
|
ark = ["ark-ff", "ark-ec", "ark-bn254", "ark-bls12-377", "ark-bw6-761", "ark-gm17", "ark-serialize", "ark-relations", "zokrates_field/ark"]
|
|
|
|
[dependencies]
|
|
cfg-if = "0.1"
|
|
num = { version = "0.1.36", default-features = false }
|
|
num-bigint = { version = "0.2", default-features = false }
|
|
lazy_static = "1.4"
|
|
typed-arena = "1.4.1"
|
|
reduce = "0.1.1"
|
|
# serialization and deserialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
bincode = "0.8.0"
|
|
hex = "0.4.2"
|
|
regex = "0.2"
|
|
zokrates_field = { version = "0.3.0", path = "../zokrates_field", default-features = false }
|
|
zokrates_pest_ast = { version = "0.1.0", path = "../zokrates_pest_ast" }
|
|
zokrates_common = { path = "../zokrates_common" }
|
|
rand_0_4 = { version = "0.4", package = "rand" }
|
|
rand_0_7 = { version = "0.7", package = "rand" }
|
|
csv = "1"
|
|
|
|
# bellman
|
|
bellman_ce = { version = "^0.3", default-features = false, optional = true }
|
|
pairing_ce = { version = "^0.21", optional = true }
|
|
ff_ce = { version = "^0.9", optional = true }
|
|
|
|
# ark
|
|
ark-ff = { git = "https://github.com/arkworks-rs/algebra", default-features = false, optional = true }
|
|
ark-ec = { git = "https://github.com/arkworks-rs/algebra", default-features = false, optional = true }
|
|
ark-bn254 = { git = "https://github.com/arkworks-rs/curves", features = ["curve"], default-features = false, optional = true }
|
|
ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves", features = ["curve"], default-features = false, optional = true }
|
|
ark-bw6-761 = { git = "https://github.com/arkworks-rs/curves", default-features = false, optional = true }
|
|
ark-gm17 = { git = "https://github.com/arkworks-rs/gm17", default-features = false, optional = true }
|
|
ark-serialize = { git = "https://github.com/arkworks-rs/algebra", default-features = false, optional = true }
|
|
ark-relations = { git = "https://github.com/arkworks-rs/snark", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "^0.3.0"
|
|
pretty_assertions = "0.6.1"
|
|
|
|
[build-dependencies]
|
|
cc = { version = "1.0", features = ["parallel"], optional = true }
|
|
cmake = { version = "0.1.31", optional = true }
|
|
git2 = { version = "0.13.1", optional = true }
|