vibe-ready 0.2.0

Composable runtime, logging, scheduling, and storage foundations for vibe-coding Rust projects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::log_s;

/// Logs the elapsed time since a caller-provided start timestamp in milliseconds.
pub(crate) fn exec_time_end(method_name: &str, start_time_ms: i64) {
    let elapsed_ms = crate::platform::now() - start_time_ms;
    log_s!(method_name, "elapsed_ms", elapsed_ms);
}

#[cfg(test)]
mod strict_tests {
    use super::*;
    include!(concat!(
        env!("CARGO_MANIFEST_DIR"),
        "/test/unit/utils/date_util_tests.rs"
    ));
}