ctsh

Crates.ioctsh
lib.rsctsh
version0.0.1
sourcesrc
created_at2023-07-20 21:14:48.114421
updated_at2023-07-20 21:14:48.114421
descriptionRuns rust code at compile time.
homepage
repositoryhttps://github.com/danielschemmel/ctsh/
max_upload_size
id921777
size15,617
Daniel Schemmel (danielschemmel)

documentation

README

ctsh! runs commands at compile time and (optionally) captures their output.

use ctsh::ctsh;
let result = ctsh!("echo" "Hello" "World" as str);
assert_eq!(result.trim(), "Hello World");
Commit count: 5

cargo fmt