Use derive feature of serde instead of serde_derive
This commit is contained in:
parent
c689a92dfa
commit
0d37186654
|
@ -18,8 +18,7 @@ chrono = "0.4"
|
|||
failure = "0.1"
|
||||
inth-oauth2 = "0.16"
|
||||
reqwest = { version = "0.9", features = ["hyper-011"] }
|
||||
serde = "1"
|
||||
serde_derive = "1"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
url_serde = "0.2"
|
||||
validator = "0.8"
|
||||
|
|
|
@ -3,7 +3,7 @@ use biscuit::Empty;
|
|||
use inth_oauth2::provider::Provider;
|
||||
use inth_oauth2::token::Expiring;
|
||||
use reqwest::{Client, Url};
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use url_serde;
|
||||
|
||||
use crate::error::Error;
|
||||
|
|
|
@ -75,7 +75,7 @@ use biscuit::{Empty, SingleOrMultiple};
|
|||
use chrono::{Duration, NaiveDate, Utc};
|
||||
use inth_oauth2::token::Token as _t;
|
||||
use reqwest::Url;
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use validator::Validate;
|
||||
use validator_derive::Validate;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ use biscuit::{CompactJson, Empty, SingleOrMultiple};
|
|||
use inth_oauth2::client::response::{FromResponse, ParseError};
|
||||
use inth_oauth2::token::{self, Bearer, Expiring};
|
||||
use reqwest::Url;
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
use url_serde;
|
||||
|
||||
|
|
Loading…
Reference in New Issue