Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
update schnorrkel to 0.11.4 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva authored Dec 19, 2023
1 parent ab40b64 commit 03f02a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ repository = "https://github.com/paritytech/substrate-bip39"
pbkdf2 = { version = "0.8.0", default-features = false }
sha2 = { version = "0.9.5", default-features = false }
hmac = "0.11.0"
schnorrkel = { version = "0.9.1", default-features = false, features = ["u64_backend"] }
schnorrkel = { version = "0.11.4", default-features = false }
zeroize = { version = "1.0.0", default-features = false }

[dev-dependencies]
tiny-bip39 = "0.8.0"
rustc-hex = "2.1.0"

[features]
std = []
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ pub fn seed_from_entropy(entropy: &[u8], password: &str) -> Result<[u8; 64], Err
#[cfg(test)]
mod test {
use super::*;

#[cfg(not(feature = "std"))]
use alloc::vec::Vec;

use bip39::{Language, Mnemonic};
use rustc_hex::FromHex;

Expand Down

0 comments on commit 03f02a7

Please sign in to comment.