inline-rust
This is a stupid macro inspired by inline-python
that compiles and executes Rust and spits the output directly into your Rust code.
There is a use case of using it to evaluate advanced "const" expressions, see the example below... if you dare.
Usage
[]
= "*"
Example
// Compiles using cargo
const CONST_HASH: &'static str = inline_rust!;
// Compiles using rustc
const CONST_FOR_LOOP: i32 = inline_rust!;