the file structure has been created and the application's basic architecture has been defined

This commit is contained in:
Александр Ебаклаков
2026-03-21 19:33:45 +03:00
commit c0a1fa6273
68 changed files with 15904 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
// Authentication IPC command handlers
// Implements: unlock_vault, unlock_vault_biometric, lock_vault

View File

@@ -0,0 +1,2 @@
pub mod auth;
pub mod vault;

View File

@@ -0,0 +1,2 @@
// Vault management IPC command handlers
// Implements: get_accounts, create_account, update_account, delete_account

View File

@@ -0,0 +1,2 @@
// Cryptographic operations
// Implements: Argon2id key derivation, XChaCha20-Poly1305 encrypt/decrypt

View File

@@ -0,0 +1,2 @@
pub mod crypto;
pub mod password_gen;

View File

@@ -0,0 +1,2 @@
// Password generator
// Implements: configurable password generation (length, charset, special symbols)

View File

@@ -0,0 +1,2 @@
pub mod models;
pub mod repository;

View File

@@ -0,0 +1,2 @@
// Database models
// Rust structs for mapping SQLite tables (Account, etc.)

View File

@@ -0,0 +1,2 @@
// Database repository
// SQL queries, transactions, CRUD operations for vault_<uuid>.sqlite

View File

@@ -0,0 +1,2 @@
-- Database schema for Abdristus Password Manager
-- Table definitions and migrations will be added in DB-01

View File

@@ -0,0 +1,2 @@
// Event emitter
// Push events to frontend: vault-updated, system-locked

View File

@@ -0,0 +1 @@
pub mod emitter;

21
src-tauri/src/lib.rs Normal file
View File

@@ -0,0 +1,21 @@
mod commands;
mod core;
mod database;
mod events;
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.setup(|app| {
if cfg!(debug_assertions) {
app.handle().plugin(
tauri_plugin_log::Builder::default()
.level(log::LevelFilter::Info)
.build(),
)?;
}
Ok(())
})
.run(tauri::generate_context!())
.expect("error while running tauri application");
}

6
src-tauri/src/main.rs Normal file
View File

@@ -0,0 +1,6 @@
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
app_lib::run();
}