This commit is contained in:
2025-08-16 09:50:56 +02:00
parent 0000d82799
commit dbd0635cd9
11 changed files with 139 additions and 142 deletions

View File

@@ -22,13 +22,14 @@ struct Args {
#[arg(long)]
debug: bool,
/// Maximum number of logical databases (None = unlimited)
#[arg(long)]
max_databases: Option<u64>,
/// Master encryption key for encrypted databases
#[arg(long)]
encryption_key: Option<String>,
/// Encrypt the database
#[arg(long)]
encrypt: bool,
}
#[tokio::main]
@@ -48,8 +49,8 @@ async fn main() {
dir: args.dir,
port,
debug: args.debug,
max_databases: args.max_databases,
encryption_key: args.encryption_key,
encrypt: args.encrypt,
};
// new server