another stage of client authentication

This commit is contained in:
DecDuck
2024-10-08 16:13:28 +11:00
parent 13bf4fe757
commit 8896492776
22 changed files with 802 additions and 83 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ pub struct Database {
pub base_url: String,
}
pub type DatabaseInterface = rustbreak::Database<Database, rustbreak::backend::PathBackend, Bincode>;
pub type DatabaseInterface =
rustbreak::Database<Database, rustbreak::backend::PathBackend, Bincode>;
pub fn setup() -> DatabaseInterface {
let db_path = BaseDirs::new().unwrap().data_dir().join("drop");