Update to Edition 2018.
This commit is contained in:
parent
b1708823de
commit
9e9f09a9a5
11 changed files with 30 additions and 34 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use common::Identity;
|
||||
use secret;
|
||||
use server::{Mechanism, Response, Validator};
|
||||
use crate::common::Identity;
|
||||
use crate::secret;
|
||||
use crate::server::{Mechanism, Response, Validator};
|
||||
|
||||
pub struct Plain<V: Validator<secret::Plain>> {
|
||||
validator: V,
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@ use std::marker::PhantomData;
|
|||
|
||||
use base64;
|
||||
|
||||
use common::scram::{generate_nonce, ScramProvider};
|
||||
use common::{parse_frame, xor, ChannelBinding, Identity};
|
||||
use secret;
|
||||
use secret::Pbkdf2Secret;
|
||||
use server::{Mechanism, Provider, Response};
|
||||
use crate::common::scram::{generate_nonce, ScramProvider};
|
||||
use crate::common::{parse_frame, xor, ChannelBinding, Identity};
|
||||
use crate::secret;
|
||||
use crate::secret::Pbkdf2Secret;
|
||||
use crate::server::{Mechanism, Provider, Response};
|
||||
|
||||
enum ScramState {
|
||||
Init,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use common::Identity;
|
||||
use secret::Secret;
|
||||
use crate::common::Identity;
|
||||
use crate::secret::Secret;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! impl_validator_using_provider {
|
||||
|
|
|
|||
Loading…
Reference in a new issue