Read_int
A simple Rust crate for getting user input
About
This crate is made for helping in getting user inputs in other types than String!
Supported types:
- unsigned
- signed
- float
- bool
Functions:
Numbers:
This function receives a generic type (all numbers type) and return a Option with the same type of the entry. You can also gives the function a text to display to user.
Bool:
This function return a Option of a bool value (true or false). Like the other function, you can also gives a text to display to user. To receive TRUE , the user need to write (yes or YES), any other words will return FALSE.