simple_input 0.2.0

`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` ``` extern crate simple_input; use simple_input::input; fn main() { let name = input("What is your name? "); println!("Hello {}!", name); }
Documentation
1
2
3
4
5
6
7
8
[dependencies]

[package]
authors = ["Branson Camp <camp.branson@gmail.com>"]
description = "`simple_input` provides a simple way to ask for user input, inspired by Python's `input` function.\n\nIt only has one function, `input(prompt: &str) -> String`\n\n```\nextern crate simple_input;\nuse simple_input::input;\n \nfn main() {\n    let name = input(\"What is your name? \");\n    println!(\"Hello {}!\", name);\n}\n"
license = "MIT"
name = "simple_input"
version = "0.2.0"