pkg_compile_time

Crates.iopkg_compile_time
lib.rspkg_compile_time
version0.1.3
sourcesrc
created_at2020-10-02 01:25:21.927793
updated_at2020-10-09 14:21:19.33066
descriptionProvides macros for fetching the package's compile date and time.
homepagehttps://docs.rs/pkg_compile_time
repositoryhttps://github.com/zydxhs/pkg_compile_time
max_upload_size
id295229
size4,218
(zydxhs)

documentation

https://docs.rs/pkg_compile_time/

README

pkg_compile_time

一个返回编译日期、时间的过程宏。

用法

use pkg_compile_time::*;

输出编译日期:

println!("Compile date is: {}", pkg_compile_date!());

输出编译时间:

println!("Compile time is: {}", pkg_compile_time!());
Commit count: 7

cargo fmt