compile_ops
This Rust library provides macros that expand to the result of operations like addition,substraction,division,multiplication or power and a macro for join them all.
This library is no_std.
Usage
#![feature(proc_macro_hygiene)]
use compile_ops::*;
fn main() {
let _buf = [0; pow(2, 9)]; // this expands to [0; 512]
}