Skip to content

add support for input from terminal stdin #81

@futurist

Description

@futurist

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions