Skip to content

Commit 356288a

Browse files
committed
Aligned to dependencies.
1 parent 8157a6a commit 356288a

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sskr"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
edition = "2021"
55
description = "Sharded Secret Key Reconstruction (SSKR) for Rust."
66
authors = ["Blockchain Commons"]
@@ -12,7 +12,7 @@ categories = ["cryptography"]
1212
documentation = "https://docs.rs/sskr"
1313

1414
[dependencies]
15-
bc-rand = "^0.2.0"
15+
bc-rand = "^0.2.1"
1616
bc-shamir = "^0.4.0"
1717

1818
thiserror = "^1.0.48"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Sharded Secret Key Reconstruction (SSKR) is a protocol for splitting a *secret*
1414

1515
```toml
1616
[dependencies]
17-
sskr = "0.4.1"
17+
sskr = "0.4.2"
1818
```
1919

2020
## Specification

src/lib.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/sskr/0.4.1")]
1+
#![doc(html_root_url = "https://docs.rs/sskr/0.4.2")]
22
#![warn(rust_2018_idioms)]
33

44
//! # Introduction
@@ -9,7 +9,7 @@
99
//!
1010
//! ```toml
1111
//! [dependencies]
12-
//! sskr = "0.4.1"
12+
//! sskr = "0.4.2"
1313
//! ```
1414
//!
1515
//! # Example
@@ -90,7 +90,7 @@ mod tests {
9090
use super::*;
9191
use bc_rand::{rng_next_in_closed_range, RandomNumberGenerator};
9292
use hex_literal::hex;
93-
use rand::RngCore;
93+
use rand::{CryptoRng, RngCore};
9494

9595
#[derive(Debug)]
9696
struct FakeRandomNumberGenerator;
@@ -113,6 +113,9 @@ mod tests {
113113
}
114114
}
115115

116+
// Testing purposes only!
117+
impl CryptoRng for FakeRandomNumberGenerator {}
118+
116119
impl RandomNumberGenerator for FakeRandomNumberGenerator {
117120
fn random_data(&mut self, size: usize) -> Vec<u8> {
118121
let mut b = vec![0u8; size];

0 commit comments

Comments
 (0)