Skip to content

Commit fa8ac4c

Browse files
author
Pjottos
committed
argon2: fix import behind feature gate
1 parent e51bcda commit fa8ac4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

argon2/src/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::{
66
};
77
use blake2::{digest, Blake2b, Digest};
88
use byte_slice_cast::{AsByteSlice, AsMutByteSlice};
9+
use core::convert::TryFrom;
910

1011
#[cfg(feature = "parallel")]
1112
use rayon::prelude::*;
@@ -19,7 +20,6 @@ use zeroize::Zeroize;
1920

2021
#[cfg(all(feature = "alloc", feature = "password-hash"))]
2122
use {
22-
core::convert::TryFrom,
2323
password_hash::{Decimal, Ident, ParamsString, Salt},
2424
};
2525

0 commit comments

Comments
 (0)