mirror of
https://github.com/actix/examples
synced 2025-01-22 22:05:57 +01:00
Fix simple-auth-server compilation
This commit is contained in:
parent
5320117bca
commit
e921a3f3cd
@ -21,4 +21,4 @@ lazy_static = "1.3.0"
|
|||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
sparkpost = "0.5.2"
|
sparkpost = "0.5.2"
|
||||||
uuid = { version = "0.7", features = ["serde", "v4"] }
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
||||||
|
@ -2,7 +2,7 @@ use actix_web::{error::ResponseError, HttpResponse};
|
|||||||
use derive_more::Display;
|
use derive_more::Display;
|
||||||
use diesel::result::{DatabaseErrorKind, Error as DBError};
|
use diesel::result::{DatabaseErrorKind, Error as DBError};
|
||||||
use std::convert::From;
|
use std::convert::From;
|
||||||
use uuid::parser::ParseError;
|
use uuid::Error as ParseError;
|
||||||
|
|
||||||
#[derive(Debug, Display)]
|
#[derive(Debug, Display)]
|
||||||
pub enum ServiceError {
|
pub enum ServiceError {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user