Update bincode to v2.0.0-rc3 (#109)
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:
2023-04-28 08:29:04 +00:00
parent 570ee4c3a6
commit e351c333fc
5 changed files with 57 additions and 40 deletions

View File

@ -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,