# 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 = "paillier-zk" version = "0.4.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "ZK-proofs for Paillier encryption scheme" readme = "README.md" keywords = [ "paillier", "zk-proofs", "zero-knowledge", ] categories = [ "algorithms", "cryptography", ] license = "MIT OR Apache-2.0" repository = "https://github.com/LFDT-Lockness/paillier-zk" [package.metadata.docs.rs] all-features = true [lib] name = "paillier_zk" path = "src/lib.rs" [[example]] name = "pregenerate" path = "examples/pregenerate.rs" required-features = ["serde"] [dependencies.digest] version = "0.10" [dependencies.fast-paillier] version = "0.1" [dependencies.generic-ec] version = "0.4" features = ["udigest"] [dependencies.rand_core] version = "0.6" default-features = false [dependencies.rand_hash] version = "0.1" [dependencies.rug] version = "1.21" features = [ "integer", "rand", ] default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_with] version = "3" features = ["macros"] optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.udigest] version = "0.2.1" features = [ "inline-struct", "derive", ] default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.generic-ec] version = "0.4" features = [ "udigest", "all-curves", ] [dev-dependencies.rand_dev] version = "0.1" default-features = false [dev-dependencies.serde_json] version = "1" [dev-dependencies.sha2] version = "0.10" default-features = false [dev-dependencies.subtle] version = "2.4" default-features = false [dev-dependencies.zeroize] version = "1.5" default-features = false [features] __internal_doctest = ["serde"] default = [] serde = [ "dep:serde", "dep:serde_with", "generic-ec/serde", "rug/serde", "fast-paillier/serde", ]