aboutsummaryrefslogtreecommitdiff
path: root/src/datastructures.rs
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2026-02-09 20:55:59 +0800
committerKunoiSayami <[email protected]>2026-02-09 20:55:59 +0800
commit2d3d384f2c32562df304d027c30e6986bd94c157 (patch)
treef49386e9ba668931b504b3f1901517c7578b381a /src/datastructures.rs
parent4ccffb79fd241497c7ccd63e14374e00561785e3 (diff)
chore: Update crates
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'src/datastructures.rs')
-rw-r--r--src/datastructures.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastructures.rs b/src/datastructures.rs
index 7f062b3..1494257 100644
--- a/src/datastructures.rs
+++ b/src/datastructures.rs
@@ -24,7 +24,7 @@ use base64::Engine;
#[cfg(feature = "pam")]
pub use ds_pam::*;
use log::error;
-use rand::Rng;
+use rand::RngExt;
use serde::{Deserialize, Serialize};
use sqlx::ConnectOptions;
#[cfg(feature = "pam")]
@@ -562,12 +562,12 @@ impl From<String> for FormData {
}
}
-#[derive(Serialize, Deserialize)]
+/* #[derive(Serialize, Deserialize)]
struct IvFile {
iv: String,
timestamp: u64,
}
-
+ */
#[derive(Debug)]
pub struct Cookie {
timestamp: u64,