Crate easyinput

Source
Expand description

§easyinput

Dependency-less library providing an easy abstraction for getting user input

§Usage

Basic usage

use easyinput::input;

fn main() {
    let user_input = input("What is your name? ");
    println!("Hello, {}!", user_input);
}

§LICENSE

This project is distributed under MIT license.

Functions§

input
Abstraction over stdin().read_line() providing easy way of getting input from the user