#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

#15 in #was

Download history 2/week @ 2024-08-16 161/week @ 2024-08-23 5/week @ 2024-08-30 139/week @ 2024-09-06 33/week @ 2024-09-13 3/week @ 2024-09-20 52/week @ 2024-09-27 12/week @ 2024-10-04 1/week @ 2024-10-11

330 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