Fixed not building when default-features = false
This commit is contained in:
parent
259231bfcc
commit
c9931f12a9
5 changed files with 28 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
use crate::common::Identity;
|
||||
use crate::server::{Mechanism, MechanismError, Response};
|
||||
|
||||
use getrandom::getrandom;
|
||||
|
||||
pub struct Anonymous;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
#[cfg(feature = "anonymous")]
|
||||
mod anonymous;
|
||||
mod plain;
|
||||
#[cfg(feature = "scram")]
|
||||
mod scram;
|
||||
|
||||
#[cfg(feature = "anonymous")]
|
||||
pub use self::anonymous::Anonymous;
|
||||
pub use self::plain::Plain;
|
||||
#[cfg(feature = "scram")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue