Remove manual doc_cfg feature because we have doc_auto_cfg
This commit is contained in:
parent
fa99c09585
commit
2103ef0191
10 changed files with 1 additions and 28 deletions
|
|
@ -23,7 +23,6 @@ pub struct Pbkdf2Sha1 {
|
|||
|
||||
impl Pbkdf2Sha1 {
|
||||
#[cfg(feature = "scram")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "scram")))]
|
||||
pub fn derive(password: &str, salt: &[u8], iterations: u32) -> Result<Pbkdf2Sha1, DeriveError> {
|
||||
use crate::common::scram::{ScramProvider, Sha1};
|
||||
use crate::common::Password;
|
||||
|
|
@ -59,7 +58,6 @@ pub struct Pbkdf2Sha256 {
|
|||
|
||||
impl Pbkdf2Sha256 {
|
||||
#[cfg(feature = "scram")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "scram")))]
|
||||
pub fn derive(
|
||||
password: &str,
|
||||
salt: &[u8],
|
||||
|
|
|
|||
Loading…
Reference in a new issue