This commit is contained in:
2025-08-23 04:57:47 +02:00
parent 56699b9abb
commit c9e1dcdb6c
47 changed files with 9267 additions and 191 deletions

14
src/options.rs Normal file
View File

@@ -0,0 +1,14 @@
#[derive(Debug, Clone)]
pub enum BackendType {
Redb,
Sled,
}
#[derive(Debug, Clone)]
pub struct DBOption {
pub dir: String,
pub debug: bool,
pub encrypt: bool,
pub encryption_key: Option<String>,
pub backend: BackendType,
}