compiletime

Crates.iocompiletime
lib.rscompiletime
version1.1.0
sourcesrc
created_at2020-07-11 17:29:20.480648
updated_at2020-07-12 00:02:28.29385
descriptionGet the time at compile-time.
homepage
repositoryhttps://github.com/luxxxxy/compiletime-rs
max_upload_size
id264119
size5,177
Lucy (Absolucy)

documentation

README

Get the time at compile-time!

Currently required nightly Rust due to rust#54727

Example:

fn main() {
	println!("This program was compiled {} ms after 1 January 1970!", compiletime::milliseconds!());
}
Commit count: 0

cargo fmt