Is it possible to add support for input from terminal stdin like below?
cargo script <<'EOF'
// cargo-deps: time
use time;
fn main(){
println!("I'm from stdin! {}", time::now().rfc822z());
}
EOF
That way it's very straight forward to experiment in the air without any file storage.
Is it possible to add support for input from terminal stdin like below?
That way it's very straight forward to experiment in the air without any file storage.