# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63.0" name = "halo2curves" version = "0.7.0" authors = ["Privacy Scaling Explorations team"] description = "Elliptic curve implementations and wrappers for halo2 library" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/privacy-scaling-explorations/halo2curves" [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 0 debug-assertions = false overflow-checks = false incremental = false [[bench]] name = "field_arith" harness = false [[bench]] name = "curve" harness = false [[bench]] name = "hash_to_curve" harness = false [[bench]] name = "fft" harness = false [[bench]] name = "msm" harness = false [[bench]] name = "pairing" harness = false [dependencies.blake2] version = "0.10.6" [dependencies.digest] version = "0.10.7" [dependencies.ff] version = "0.13.0" features = ["std"] default-features = false [dependencies.group] version = "0.13.0" [dependencies.halo2derive] version = "0.1.0" [dependencies.hex] version = "0.4" features = [ "alloc", "serde", ] optional = true default-features = false [dependencies.lazy_static] version = "1.4.0" [dependencies.num-bigint] version = "0.4.3" [dependencies.num-integer] version = "0.1.46" [dependencies.num-traits] version = "0.2" [dependencies.pairing] version = "0.23.0" [dependencies.pasta_curves] version = "0.5.0" [dependencies.paste] version = "1.0.11" [dependencies.rand] version = "0.8" [dependencies.rand_core] version = "0.6" default-features = false [dependencies.rayon] version = "1.8" [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.serde_arrays] version = "0.1.0" optional = true [dependencies.sha2] version = "0.10.8" [dependencies.static_assertions] version = "1.1.0" [dependencies.subtle] version = "2.5" [dependencies.unroll] version = "0.1.5" [dev-dependencies.ark-std] version = "0.3" [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.criterion] version = "0.3" features = ["html_reports"] [dev-dependencies.hex] version = "0.4" [dev-dependencies.impls] version = "1" [dev-dependencies.rand_chacha] version = "0.3.1" [dev-dependencies.rand_xorshift] version = "0.3" [dev-dependencies.serde_json] version = "1.0.105" [features] asm = ["halo2derive/asm"] bits = ["ff/bits"] bn256-table = [] default = ["bits"] derive_serde = [ "serde/derive", "serde_arrays", "hex", "pasta_curves/serde", ] print-trace = ["ark-std/print-trace"] [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.getrandom] version = "0.2" features = ["js"]