Update bincode to v2.0.0-rc3 (#109)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Prepare for the next major update of bincode Reviewed-on: #109
This commit is contained in:
@ -2,6 +2,7 @@ use std::io::ErrorKind;
|
||||
use std::sync::Arc;
|
||||
|
||||
use actix_web::web;
|
||||
use bincode::{Decode, Encode};
|
||||
use uuid::Uuid;
|
||||
use webauthn_rs::prelude::{
|
||||
CreationChallengeResponse, Passkey, PublicKeyCredential, RegisterPublicKeyCredential,
|
||||
@ -28,7 +29,7 @@ pub struct RegisterKeyRequest {
|
||||
pub creation_challenge: CreationChallengeResponse,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize, Encode, Decode)]
|
||||
struct RegisterKeyOpaqueData {
|
||||
registration_state: String,
|
||||
user_id: UserID,
|
||||
@ -40,7 +41,7 @@ pub struct AuthRequest {
|
||||
pub login_challenge: RequestChallengeResponse,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Debug, Encode, Decode)]
|
||||
struct AuthStateOpaqueData {
|
||||
authentication_state: String,
|
||||
user_id: UserID,
|
||||
|
Reference in New Issue
Block a user