Skip to content

Commit

Permalink
Include dependency to rug to fix compilation error.
Browse files Browse the repository at this point in the history
See Issue #513 for more details.
  • Loading branch information
gatoWololo committed Feb 2, 2024
1 parent d289a54 commit 0621a0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ generic-array = "0.14"
hex = "0.4"
k256 = { version = "0.13", features = ["arithmetic", "sha256", "ecdsa", "serde"] }
lazy_static = "1"

# libpaillier depends on `unknown_order` which in turn depends on `rug`.
libpaillier = { version = "0.5", default-features = false, features = ["gmp"] }
# We don't use `rug` directly, but compilation will fail unless we include it here. See Issue #513 for more
# information.
rug = { version = "1.24.0"}

merlin = "3"
num-bigint = "0.4"
rand = "0.8"
Expand Down

0 comments on commit 0621a0d

Please sign in to comment.