| Crates.io | pkg_compile_time |
| lib.rs | pkg_compile_time |
| version | 0.1.3 |
| created_at | 2020-10-02 01:25:21.927793+00 |
| updated_at | 2020-10-09 14:21:19.33066+00 |
| description | Provides macros for fetching the package's compile date and time. |
| homepage | https://docs.rs/pkg_compile_time |
| repository | https://github.com/zydxhs/pkg_compile_time |
| max_upload_size | |
| id | 295229 |
| size | 4,218 |
一个返回编译日期、时间的过程宏。
use pkg_compile_time::*;
输出编译日期:
println!("Compile date is: {}", pkg_compile_date!());
输出编译时间:
println!("Compile time is: {}", pkg_compile_time!());