# 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.73" name = "rust-kzg-bn254" version = "0.2.0" authors = [ "Anup Swamy Veena", "Teddy Knox", ] exclude = [ "tests/*", "benches/*", ] description = "This library offers a set of functions for generating and interacting with bn254 KZG commitments and proofs in rust, with the motivation of supporting fraud and validity proof logic in EigenDA rollup integrations." readme = "README.md" license-file = "LICENSE" repository = "https://github.com/Layr-Labs/rust-kzg-bn254" [profile.bench] opt-level = 3 lto = false codegen-units = 16 debug = 2 debug-assertions = false rpath = false panic = "unwind" overflow-checks = false incremental = false strip = "none" [profile.test] opt-level = 3 lto = false codegen-units = 16 debug = 2 debug-assertions = false rpath = false panic = "unwind" overflow-checks = false incremental = false strip = "none" [[test]] name = "kzg" path = "tests/kzg_test.rs" [[test]] name = "blob" path = "tests/blob_test.rs" [[test]] name = "polynomial" path = "tests/polynomial_test.rs" [[test]] name = "helpers" path = "tests/helpers_test.rs" [[bench]] name = "bench_g1_ifft" path = "benches/bench_g1_ifft.rs" harness = false [[bench]] name = "bench_kzg_setup" path = "benches/bench_kzg_setup.rs" harness = false [[bench]] name = "bench_kzg_commit" path = "benches/bench_kzg_commit.rs" harness = false [[bench]] name = "bench_kzg_proof" path = "benches/bench_kzg_proof.rs" harness = false [[bench]] name = "bench_kzg_verify" path = "benches/bench_kzg_verify.rs" harness = false [dependencies.ark-bn254] version = "0.4.0" [dependencies.ark-ec] version = "0.4.2" [dependencies.ark-ff] version = "0.4.1" [dependencies.ark-poly] version = "0.4.2" [dependencies.ark-serialize] version = "0.4.2" [dependencies.ark-std] version = "0.4.0" [dependencies.byteorder] version = "1.4" [dependencies.crossbeam-channel] version = "0.5" [dependencies.directories] version = "5.0.1" [dependencies.hex-literal] version = "0.4.1" [dependencies.num-bigint] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.num_cpus] version = "1.13.0" [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "^1.5" [dependencies.sha2] version = "0.10.8" [dependencies.ureq] version = "2.9.6" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.tracing] version = "^0.1.34" features = ["log"] [dev-dependencies.tracing-subscriber] version = "0.3.18"