mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
11 lines
273 B
Rust
11 lines
273 B
Rust
//! DC release info.
|
|
|
|
use chrono::NaiveDate;
|
|
use std::sync::LazyLock;
|
|
|
|
const DATE_STR: &str = include_str!("../release-date.in");
|
|
|
|
/// Last release date.
|
|
pub static DATE: LazyLock<NaiveDate> =
|
|
LazyLock::new(|| NaiveDate::parse_from_str(DATE_STR, "%Y-%m-%d").unwrap());
|