simple_input 0.4.0

A simple crate for handling user input, inspired by Python
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Simple Input

`simple_input` provides a simple way to ask for user input, inspired by Python's `input` function.

It only has one function, `input(prompt: &str) -> String`

```rust
extern crate simple_input;
use simple_input::input;
 
fn main() {
    let name = input("What is your name? ");
    println!("Hello {}!", name);
}
```