From c6a7fa36c5e888d87806a33c6347cfe4bf2141c2 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 18 Apr 2021 13:07:45 -0700 Subject: [PATCH] elliptic-curve: pin to patched bitvec With this `bitvec` patch, we no longer need to pin `funty`: https://github.com/bitvecto-rs/bitvec/issues/105 --- Cargo.lock | 6 +++--- elliptic-curve/Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2445a9c8..fa366d6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -51,9 +51,9 @@ checksum = "d0d27fb6b6f1e43147af148af49d49329413ba781aa0d5e10979831c210173b5" [[package]] name = "bitvec" -version = "0.20.1" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d" +checksum = "1f682656975d3a682daff957be4ddeb65d6ad656737cd821f2d00685ae466af1" dependencies = [ "funty", "radium", @@ -194,8 +194,8 @@ name = "elliptic-curve" version = "0.9.6" dependencies = [ "base64ct", + "bitvec", "ff", - "funty", "generic-array 0.14.4", "group", "hex-literal 0.3.1", diff --git a/elliptic-curve/Cargo.toml b/elliptic-curve/Cargo.toml index 0bac6d95..1041587b 100644 --- a/elliptic-curve/Cargo.toml +++ b/elliptic-curve/Cargo.toml @@ -16,8 +16,8 @@ keywords = ["crypto", "ecc", "elliptic", "weierstrass"] [dependencies] base64ct = { version = "1", optional = true, default-features = false } +bitvec = { version = "0.20.2", optional = true, default-features = false } ff = { version = "0.9", optional = true, default-features = false } -funty = { version = "=1.1.0", default-features = false } # see https://github.com/bitvecto-rs/bitvec/issues/105 group = { version = "0.9", optional = true, default-features = false } hex-literal = { version = "0.3", optional = true } generic-array = { version = "0.14", default-features = false } @@ -34,7 +34,7 @@ hex-literal = "0.3" [features] default = ["arithmetic"] alloc = [] -arithmetic = ["ff", "group"] +arithmetic = ["bitvec", "ff", "group"] dev = ["arithmetic", "hex-literal", "pem", "zeroize"] ecdh = ["arithmetic", "zeroize"] hazmat = []