program_tools 0.6.1

Rust script runner — compile and execute Rust files as scripts with output capture.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[ allow( unused_imports ) ]
use super :: *;

#[ test ]
fn basic()
{
  use the_module ::program;

  let _plan = program ::Plan ::former()
  .program()
   .source().file_path( "main.rs" ).data( "fn main() { println( \"hello!\" ) }" ).end()
  .end()
  .end();

}