# 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" name = "blitzar" version = "4.0.0" build = false exclude = [ "**/.gitignore", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "High-Level Rust wrapper for the blitzar-sys crate " documentation = "https://docs.rs/blitzar" readme = "README.md" keywords = [ "gpu-cryptography", "curve25519", "ristretto255", "bls12-381", "bn254", ] license = "Apache-2.0" repository = "https://github.com/spaceandtimelabs/blitzar-rs" [lib] name = "blitzar" path = "src/lib.rs" [[example]] name = "add_mult_commitments" path = "examples/add_mult_commitments.rs" [[example]] name = "get_generators" path = "examples/get_generators.rs" [[example]] name = "get_one_commit" path = "examples/get_one_commit.rs" [[example]] name = "initialize_backend" path = "examples/initialize_backend.rs" [[example]] name = "initialize_backend_with_config" path = "examples/initialize_backend_with_config.rs" [[example]] name = "pass_bls12_381_g1_generators_to_commitment" path = "examples/pass_bls12_381_g1_generators_to_commitment.rs" [[example]] name = "pass_bn254_g1_generators_to_commitment" path = "examples/pass_bn254_g1_generators_to_commitment.rs" [[example]] name = "pass_curve25519_generators_to_commitment" path = "examples/pass_curve25519_generators_to_commitment.rs" [[example]] name = "pass_generators_and_scalars_to_commitment" path = "examples/pass_generators_and_scalars_to_commitment.rs" [[example]] name = "pass_grumpkin_generators_to_commitment" path = "examples/pass_grumpkin_generators_to_commitment.rs" [[example]] name = "simple_commitment" path = "examples/simple_commitment.rs" [[example]] name = "simple_fixed_msm" path = "examples/simple_fixed_msm.rs" [[example]] name = "simple_scalars_commitment" path = "examples/simple_scalars_commitment.rs" [[example]] name = "simple_update_commitment" path = "examples/simple_update_commitment.rs" [[bench]] name = "blitzar_benchmarks" path = "benches/blitzar_benchmarks.rs" harness = false [[bench]] name = "packed_msm_benchmarks" path = "benches/packed_msm_benchmarks.rs" harness = false [dependencies.ark-bls12-381] version = "0.5.0" [dependencies.ark-bn254] version = "0.5.0" [dependencies.ark-ec] version = "0.5.0" [dependencies.ark-ff] version = "0.5.0" [dependencies.ark-grumpkin] version = "0.5.0" [dependencies.ark-serialize] version = "0.5.0" [dependencies.ark-std] version = "0.5.0" [dependencies.blitzar-sys] version = "1.81.0" [dependencies.curve25519-dalek] version = "4" features = ["serde"] [dependencies.merlin] version = "2" [dependencies.rayon] version = "1.5" [dependencies.serde] version = "1" features = ["serde_derive"] [dependencies.thiserror] version = "1" [dev-dependencies.criterion] version = "0.3" features = ["html_reports"] [dev-dependencies.curve25519-dalek] version = "4" features = ["rand_core"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_core] version = "0.6" [dev-dependencies.tempfile] version = "3.13.0" [features] arkworks = [] cpu = [] default = ["gpu"] gpu = []