bijux-cli 0.3.5

Command-line runtime for automation, plugin-driven tools, and interactive workflows with structured output.
Documentation
1
2
3
4
5
6
7
8
9
10
#![forbid(unsafe_code)]
//! Shared time helpers for deterministic reporting surfaces.

use std::time::{SystemTime, UNIX_EPOCH};

/// Current unix timestamp in seconds.
#[must_use]
pub fn unix_timestamp_secs() -> u64 {
    SystemTime::now().duration_since(UNIX_EPOCH).unwrap_or_default().as_secs()
}