#input #line #was

shittyinput

An input library for rust

6 releases (1 stable)

1.0.0 Sep 9, 2024
0.1.4 Aug 24, 2024

#7 in #was

Download history 118/week @ 2024-08-05 13/week @ 2024-08-12 147/week @ 2024-08-19 19/week @ 2024-08-26 150/week @ 2024-09-09 25/week @ 2024-09-16 63/week @ 2024-09-30

238 downloads per month

MIT/Apache

4KB

This is a fairly shitty input managing crate, I made it because I was tired of writing three or four lines per each input.

The whole crate was basically just made to "shorten your code cuh!"

The crate currently contains:

  • 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, no need for error handling there.
  • 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.

1.0.0 release babyyy!!


lib.rs:

This is a fairly shitty input managing crate, I made it because I was tired of writing three or four lines per each input.

The whole crate was basically just made to "shorten your code cuh!"

The crate currently contains:

  • 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, no need for error handling there.
  • 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.

1.0.0 release babyyy!!

No runtime deps