compile-rand 1.0.0

Compile-time random integers
Documentation

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:

https://xkcd.com/221/

...then this crate will give it to you!