[package] name = "zokrates_core" version = "0.5.2" authors = ["Jacob Eberhardt ", "Dennis Kuhnert "] repository = "https://github.com/JacobEberhardt/ZoKrates" readme = "README.md" build = "build.rs" [features] default = [] libsnark = ["cc", "cmake", "git2"] 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"] [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 = "1.0" serde_derive = "1.0" serde_json = "1.0" bincode = "0.8.0" hex = "0.4.2" regex = "0.2" pairing_ce = "^0.21" ff_ce = "^0.9" zokrates_field = { version = "0.3.0", path = "../zokrates_field" } 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_ce = { version = "^0.3", default-features = false } 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 } #algebra = { git = "https://github.com/scipr-lab/ark.git", features = ["bn254", "bls12_377", "bw6_761"], 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 }