diff --git a/simple-auth-server/Cargo.toml b/simple-auth-server/Cargo.toml index 5012515b..c2ee7008 100644 --- a/simple-auth-server/Cargo.toml +++ b/simple-auth-server/Cargo.toml @@ -12,7 +12,7 @@ actix-rt = "1.0.0" argonautica = "0.2.0" chrono = { version = "0.4.6", features = ["serde"] } derive_more = "0.99.0" -diesel = { version = "1.4.2", features = ["postgres","uuidv07", "r2d2", "chrono"] } +diesel = { version = "1.4.2", features = ["postgres", "uuidv07", "r2d2", "chrono"] } dotenv = "0.14.1" env_logger = "0.6" futures = "0.3.1" @@ -21,4 +21,4 @@ lazy_static = "1.3.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sparkpost = "0.5.2" -uuid = { version = "0.7", features = ["serde", "v4"] } +uuid = { version = "0.8", features = ["serde", "v4"] } diff --git a/simple-auth-server/src/errors.rs b/simple-auth-server/src/errors.rs index 1cea664b..fc64f607 100644 --- a/simple-auth-server/src/errors.rs +++ b/simple-auth-server/src/errors.rs @@ -2,7 +2,7 @@ use actix_web::{error::ResponseError, HttpResponse}; use derive_more::Display; use diesel::result::{DatabaseErrorKind, Error as DBError}; use std::convert::From; -use uuid::parser::ParseError; +use uuid::Error as ParseError; #[derive(Debug, Display)] pub enum ServiceError {