GitHunt
LU

lukesneeringer/compile-rand

Random numbers at compile time.

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!

Languages

Rust100.0%

Contributors

Latest Release

v1.0.0March 28, 2025
MIT License
Created March 28, 2025
Updated March 28, 2025
lukesneeringer/compile-rand | GitHunt