updated imports in validation.rs
This commit is contained in:
parent
68d6c84c8c
commit
60a030874a
|
@ -3,8 +3,8 @@ use chrono::Utc;
|
||||||
use serde_json::map::Map;
|
use serde_json::map::Map;
|
||||||
use serde_json::{from_value, Value};
|
use serde_json::{from_value, Value};
|
||||||
|
|
||||||
use crypto::Algorithm;
|
use crate::algorithms::Algorithm;
|
||||||
use errors::{new_error, ErrorKind, Result};
|
use crate::errors::{new_error, ErrorKind, Result};
|
||||||
|
|
||||||
/// Contains the various validations that are applied after decoding a token.
|
/// Contains the various validations that are applied after decoding a token.
|
||||||
///
|
///
|
||||||
|
@ -161,7 +161,7 @@ mod tests {
|
||||||
|
|
||||||
use super::{validate, Validation};
|
use super::{validate, Validation};
|
||||||
|
|
||||||
use errors::ErrorKind;
|
use crate::errors::ErrorKind;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn exp_in_future_ok() {
|
fn exp_in_future_ok() {
|
||||||
|
|
Loading…
Reference in New Issue