Expand description
§compile-rand
This crate provides the compile_rand! macro, which will generate a random number of the given
integer type at compile time.
In other words, if – for whatever reason – you actually need this XKCD comic:
…then this crate will give it to you!
§Usage
use compile_rand::compile_rand;
let r = compile_rand!(i64);
println!("{}", r); // A new number each time the program is compiled.