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
#[derive(Debug)]
pub enum EmotionState {
    Calm,
    Reflective,
    Unknown,
}

impl EmotionState {
    pub fn new(tone: &str, _intent: &str, _reem: &str) -> Self {
        match tone.to_lowercase().as_str() {
            "calm" => EmotionState::Calm,
            "reflect" => EmotionState::Reflective,
            _ => EmotionState::Unknown,
        }
    }
}