# 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.65" name = "elastic-elgamal" version = "0.3.1" authors = [ "Alex Ostrovski ", "Jiří Gavenda ", "Antonín Dufka ", "Tiago Cerqueira ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Implementation of ElGamal encryption and related zero-knowledge proofs with pluggable crypto backend """ readme = "README.md" keywords = [ "elgamal", "encryption", "zero-knowledge", ] categories = [ "cryptography", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/slowli/elastic-elgamal" [package.metadata.docs.rs] features = ["serde"] rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev.package.curve25519-dalek] opt-level = 2 [profile.dev.package.k256] opt-level = 2 [lib] name = "elastic_elgamal" path = "src/lib.rs" [[example]] name = "equivalence" path = "examples/equivalence.rs" required-features = [ "default", "serde", ] [[example]] name = "range" path = "examples/range.rs" required-features = [ "default", "serde", ] [[example]] name = "voting" path = "examples/voting.rs" required-features = [ "default", "serde", ] [[test]] name = "integration" path = "tests/integration/main.rs" required-features = ["default"] [[test]] name = "snapshots" path = "tests/snapshots.rs" required-features = [ "default", "serde", ] [[test]] name = "version_match" path = "tests/version_match.rs" [[bench]] name = "basics" path = "benches/basics.rs" harness = false required-features = ["default"] [[bench]] name = "sharing" path = "benches/sharing.rs" harness = false required-features = ["default"] [dependencies.base64ct] version = "1.0" features = ["alloc"] default-features = false [dependencies.curve25519-dalek] version = "4.1.3" optional = true [dependencies.curve25519-dalek-ng] version = "4.1.1" features = ["alloc"] optional = true default-features = false [dependencies.elliptic-curve] version = "0.13.8" features = ["sec1"] [dependencies.hashbrown] version = "0.15.1" optional = true [dependencies.merlin] version = "3.0.0" default-features = false [dependencies.rand_chacha] version = "0.3.1" default-features = false [dependencies.rand_core] version = "0.6.2" default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.sha2] version = "0.10.8" default-features = false [dependencies.subtle] version = "2.6.1" default-features = false [dependencies.zeroize] version = "1.8.1" features = ["alloc"] default-features = false [dev-dependencies.bulletproofs] version = "5.0.0" [dev-dependencies.clap] version = "4.5.20" features = ["derive"] [dev-dependencies.criterion] version = "0.5.0" [dev-dependencies.doc-comment] version = "0.3.3" [dev-dependencies.insta] version = "1.41.1" features = ["yaml"] [dev-dependencies.k256] version = "0.13" features = ["arithmetic"] default-features = false [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.test-casing] version = "0.1.3" [dev-dependencies.version-sync] version = "0.9.2" [features] default = [ "std", "curve25519-dalek", ] std = []