diff options
author | Bernd Schoolmann <mail@quexten.com> | 2023-03-15 22:38:44 +0100 |
---|---|---|
committer | Bernd Schoolmann <mail@quexten.com> | 2023-03-26 04:28:11 +0200 |
commit | 22f7344befc026666b48e3153c4dfe4175f052ee (patch) | |
tree | b3082cf9935da0bfbe5df324f9e0454f7a12a8fe /src/db.rs | |
parent | 9645a4636f6f4b04f4e6aba84e3c77fa0f2f6961 (diff) | |
download | rbw-22f7344befc026666b48e3153c4dfe4175f052ee.tar.gz rbw-22f7344befc026666b48e3153c4dfe4175f052ee.zip |
Switch kdf type to enum
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -use crate::prelude::*; +use crate::{prelude::*, api::KdfType}; use std::io::{Read as _, Write as _}; use tokio::io::{AsyncReadExt as _, AsyncWriteExt as _}; @@ -164,7 +164,7 @@ pub struct Db { pub access_token: Option<String>, pub refresh_token: Option<String>, - pub kdf: Option<u32>, + pub kdf: Option<KdfType>, pub iterations: Option<u32>, pub memory: Option<u32>, pub parallelism: Option<u32>, |