vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::thread;
use std::time::Duration;

/// Deterministic tick loop for CI/tests.
pub fn watch_loop_ticks(iterations: usize) {
    for i in 0..iterations {
        eprintln!("[naorix_watch] tick {}", i);
        thread::sleep(Duration::from_millis(50));
    }
}

/// Back-compat API expected by `src/bin/naorix_watch.rs`.
/// We don't actually use `vault_dir` or `key` here; just simulate activity.
pub fn watch_loop(_vault_dir: &str, _key: &str) {
    // simulate a short, observable watch cycle
    watch_loop_ticks(5);
}