From 25a4a16474c33acc41b06112caca67f69eb53f4c Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Thu, 27 Jan 2022 12:20:56 +0200 Subject: [PATCH] chore: upgrade to bitvec = 1 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 91d6005..75bbeaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ repository = "https://github.com/zkcrypto/ff" edition = "2018" [dependencies] -bitvec = { version = "0.22", default-features = false, optional = true } +bitvec = { version = "1", default-features = false, optional = true } byteorder = { version = "1", default-features = false, optional = true } ff_derive = { version = "0.11", path = "ff_derive", optional = true } rand_core = { version = "0.6", default-features = false } diff --git a/src/lib.rs b/src/lib.rs index 6b60c8b..4ccd0de 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,7 +30,7 @@ use subtle::{Choice, ConditionallySelectable, ConstantTimeEq, CtOption}; /// Bit representation of a field element. #[cfg(feature = "bits")] #[cfg_attr(docsrs, doc(cfg(feature = "bits")))] -pub type FieldBits = BitArray; +pub type FieldBits = BitArray; /// This trait represents an element of a field. pub trait Field: