shittyinput 1.1.1

An input library for rust
Documentation
1
2
3
4
5
6
7
8
9
# A fairly shitty input managing crate for rust
Made this crate because inputting things in rust is incredibly not beginner friendly. This crate gives you a few functions that abstract the non beginner friendliness away.

# Usage
The crate contains the following functions:
 - ```get_int()``` Returns an integer of size ```isize```. Returns a standard ```io::Error``` if it couldn't parse the input.
 - ```get_string()``` Returns the inputed String. Returns a standard ```io::Error``` if it couldn't get the input from stdin.
 - ```get_f32()``` Returns a float of type ```f32```. Returns a standard ```io::Error``` if it couldn't parse the input.
 - ```get_f64()``` Returns a float of type ```f64```. Returns a standard ```io::Error``` if it couldn't parse the input.