keyezinput

Crates.iokeyezinput
lib.rskeyezinput
version0.1.3
sourcesrc
created_at2022-03-24 19:19:05.863293
updated_at2022-03-30 19:00:52.205703
descriptionRust library that facilitates ask a keyboard user input ⌨️
homepage
repositoryhttps://github.com/NexCreep/EZInput
max_upload_size
id555884
size4,930
Raúl López-Bravo (NexCreep)

documentation

README

EZInput - For user keyboar input ⌨️

About

EZInput is a library that implements an easy and fast way to take user input from terminal.

Use

1.- You must add this to your cargo.toml, in dependencies section

keyezinput = "0.1.3"

2.- And finally implements in your code like this:

use keyezinput;

fn main(){
    let input: String = keyezinput::input::input_line("Foo input: ");

    println!("Foo output: {}", input);
}

The output would be like this:

Foo input: bar keyboard
Foo output: bar keyboard

Change Log

[v0.1.3 - 22.03]

  • Patched user input that have to extra chars that difficulties the parse to another type

I hope you liked ❤️

Special greeting to you, that watch this repo 😄

Commit count: 11

cargo fmt