[][src]Crate compile_time_run

This crate contains macros to run commands on your system during compile time.

You should probably not be doing this in most public projects, but there could be legit uses in personal or private projects.

An example:

use compile_time_run::{run_command, run_command_str};
const VALUE_STR   : &'static str  = run_command_str!("echo", "Hello World!");
const VALUE_BYTES : &'static [u8] = run_command!("echo", "Hello World!");

Macros

run_command

Run a command at compile time, and return the output as a byte slice.

run_command_str

Run a command at compile time, and return the output as a str.