You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Bump serde_with
This commit is contained in:
@ -7,7 +7,7 @@ license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "0.5.13", default-features = false }
|
||||
serde = { version = "1.0.140", features = ["derive"] }
|
||||
serde = { version = "1.0.141", features = ["derive"] }
|
||||
serde_urlencoded = "0.7.1"
|
||||
serde_with = "1.14.0"
|
||||
serde_with = "2.0.0"
|
||||
url = "2.2.2"
|
||||
|
@ -13,18 +13,20 @@
|
||||
// limitations under the License.
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_with::{serde_as, DisplayFromStr};
|
||||
|
||||
pub use crate::traits::*;
|
||||
|
||||
#[serde_as]
|
||||
#[derive(Deserialize, Serialize, Clone, Debug)]
|
||||
#[serde(rename_all = "snake_case", tag = "next")]
|
||||
pub enum PostAuthAction {
|
||||
ContinueAuthorizationGrant {
|
||||
#[serde(deserialize_with = "serde_with::rust::display_fromstr::deserialize")]
|
||||
#[serde_as(as = "DisplayFromStr")]
|
||||
data: i64,
|
||||
},
|
||||
ContinueCompatSsoLogin {
|
||||
#[serde(deserialize_with = "serde_with::rust::display_fromstr::deserialize")]
|
||||
#[serde_as(as = "DisplayFromStr")]
|
||||
data: i64,
|
||||
},
|
||||
ChangePassword,
|
||||
|
Reference in New Issue
Block a user