# 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 = "fast-paillier" version = "0.1.0" description = "Optimized Paillier encryption scheme" readme = "README.md" keywords = [ "paillier", "public-key", "encryption", ] categories = [ "algorithms", "cryptography", ] license = "MIT OR Apache-2.0" repository = "https://github.com/dfns/fast-paillier" [[bench]] name = "comparison" harness = false [dependencies.bytemuck] version = "1.5" features = ["derive"] [dependencies.rand_core] version = "0.6" [dependencies.rug] version = "1.21" features = [ "integer", "rand", ] default-features = false [dependencies.serde] version = "1" optional = true [dependencies.thiserror] version = "1" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.libpaillier] version = "0.5" features = ["gmp"] default-features = false [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_dev] version = "0.1" [features] serde = [ "dep:serde", "rug/serde", ]