Skip to content

Commit

Permalink
Bump serde-big-array from 0.3.2 to 0.4.1
Browse files Browse the repository at this point in the history
Bumps [serde-big-array](https://github.com/est31/serde-big-array) from 0.3.2 to 0.4.1.
- [Release notes](https://github.com/est31/serde-big-array/releases)
- [Commits](est31/serde-big-array@v0.3.2...v0.4.1)

---
updated-dependencies:
- dependency-name: serde-big-array
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
jsdanielh committed Mar 28, 2022
1 parent 267d510 commit bdc5626
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ log = { package = "tracing", version = "0.1", features = ["log"] }
num-traits = "0.2"
rand = "0.8"
serde = { version = "1.0", features = ["derive"], optional = true }
serde-big-array = { version = "0.3.2", optional = true }
serde-big-array = { version = "0.4.1", optional = true }
sha2 = "0.9"

beserial = { path = "../beserial" }
Expand Down
5 changes: 1 addition & 4 deletions vrf/src/vrf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use curve25519_dalek::scalar::Scalar;
use curve25519_dalek::traits::IsIdentity;
use rand::prelude::*;
#[cfg(feature = "serde-derive")]
use serde_big_array::big_array;
use serde_big_array::BigArray;
use sha2::{Digest, Sha256, Sha512};

use beserial::{Deserialize, Serialize, SerializingError};
Expand Down Expand Up @@ -41,9 +41,6 @@ pub enum VrfUseCase {
RewardDistribution = 4,
}

#[cfg(feature = "serde-derive")]
big_array! { BigArray; }

create_typed_array!(VrfEntropy, u8, 32);

impl VrfEntropy {
Expand Down

0 comments on commit bdc5626

Please sign in to comment.