[package] name = "zokrates_core" version = "0.6.9" edition = "2018" authors = ["Jacob Eberhardt ", "Dennis Kuhnert "] repository = "https://github.com/Zokrates/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", "phase2/multicore"] ark = ["ark-ff", "ark-ec", "ark-bn254", "ark-bls12-377", "ark-bw6-761", "ark-gm17", "ark-groth16", "ark-crypto-primitives", "ark-serialize", "ark-relations", "ark-marlin", "ark-poly", "ark-poly-commit", "sha2"] [dependencies] log = "0.4" 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" serde_cbor = "0.11.2" hex = "0.4.2" regex = "0.2" zokrates_field = { version = "0.5.0", path = "../zokrates_field", default-features = false } zokrates_pest_ast = { version = "0.2.0", path = "../zokrates_pest_ast" } zokrates_common = { path = "../zokrates_common" } zokrates_embed = { version = "0.1.0", path = "../zokrates_embed" } getrandom = { version = "0.2", features = ["js"] } rand_0_4 = { version = "0.4", package = "rand" } rand_0_7 = { version = "0.7", package = "rand" } csv = "1" phase2 = { git = "https://github.com/Zokrates/phase2", default-features = false } # 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 = { version = "^0.2.0", default-features = false, optional = true } ark-ec = { version = "^0.2.0", default-features = false, optional = true } ark-bn254 = { version = "^0.2.0", features = ["curve"], default-features = false, optional = true } ark-bls12-377 = { version = "^0.2.0", features = ["curve"], default-features = false, optional = true } ark-bw6-761 = { version = "^0.2.0", default-features = false, optional = true } ark-gm17 = { version = "^0.2.0", default-features = false, optional = true } ark-groth16 = { version = "^0.2.0", default-features = false, optional = true } ark-serialize = { version = "^0.2.0", default-features = false, optional = true } ark-relations = { version = "^0.2.0", default-features = false, optional = true } ark-marlin = { version = "^0.2.0", default-features = false, optional = true } ark-poly = { version = "^0.2.0", default-features = false, optional = true } ark-poly-commit = { version = "^0.2.0", default-features = false, optional = true } ark-crypto-primitives = { version = "^0.2.0", default-features = false, optional = true } sha2 = { version = "0.9.3", optional = true } [dev-dependencies] wasm-bindgen-test = "^0.3.0" pretty_assertions = "0.6.1" zokrates_fs_resolver = { version = "0.5", path = "../zokrates_fs_resolver"} [build-dependencies] cc = { version = "1.0", features = ["parallel"], optional = true } cmake = { version = "=0.1.45", optional = true } git2 = { version = "0.13.1", optional = true }