agentcarousel 0.4.7

Evaluate agents and skills with YAML fixtures, run cases (mock or live), and keep run rows in SQLite for reports and evidence export.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Lowercase hex encoding for digest outputs (`GenericArray` is not `LowerHex`).
use std::fmt::Write as _;

pub(crate) fn hex_lower(bytes: &[u8]) -> String {
    let mut s = String::with_capacity(bytes.len() * 2);
    for &b in bytes {
        write!(&mut s, "{:02x}", b).expect("write to String cannot fail");
    }
    s
}