Newer
Older
//! This is the documentation for the **OPOSSUM** software package. **OPOSSUM** stands for
//! **Op**en-source **O**ptics **S**imulation **S**oftware and **U**nified **M**odeller.
pub mod lightdata;
/// The basic structure representing an optical element
/// The basic structure containing the entire optical model
use chrono::DateTime;
fn get_version() -> String {
let timestamp = DateTime::parse_from_rfc3339(env!("VERGEN_GIT_COMMIT_TIMESTAMP")).unwrap();
format!(
"{} ({})",
env!("VERGEN_GIT_DESCRIBE"),
timestamp.format("%Y/%m/%d %H:%M")
)
}