# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "paillier-common" version = "0.2.0" authors = ["Robert Annessi ", "Ethan Fast "] description = "paillier over bigint traits provided by rust-bigint" keywords = ["paillier", "cryptography", "homomorphic", "encryption"] license = "MIT" repository = "https://github.com/nash-io/rust-paillier" [[example]] name = "basic" [[example]] name = "core" [[example]] name = "packed" [[bench]] name = "arith" harness = false [[bench]] name = "encryption" harness = false [[bench]] name = "keygen" harness = false [[bench]] name = "proof" harness = false [dependencies.num-integer] version = "0.1" optional = true [dependencies.num-traits] version = "0.2" optional = true [dependencies.rand] version = "0.8" [dependencies.rayon] version = "1.1" [dependencies.rust-bigint] version = "1.2" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.bencher] version = "0.1" [dev-dependencies.serde_json] version = "1.0" [features] default = ["rust_gmp"] num_bigint = ["rust-bigint/num_bigint", "num-traits", "num-integer"] rust_gmp = ["rust-bigint/rust_gmp"]