Skip to main content

torrust_clock/static_time/
mod.rs

1//! It contains a static variable that is set to the time at which
2//! the application started.
3use std::sync::LazyLock;
4use std::time::SystemTime;
5
6/// The time at which the application started.
7pub static TIME_AT_APP_START: LazyLock<SystemTime> = LazyLock::new(SystemTime::now);