shittyinput

Crates.ioshittyinput
lib.rsshittyinput
version1.0.0
sourcesrc
created_at2024-08-11 02:58:37.499049
updated_at2024-09-09 23:15:06.06074
descriptionAn input library for rust
homepage
repositoryhttps://github.com/clear-leo/ShittyInput
max_upload_size
id1332905
size3,906
leo (clear-leo)

documentation

README

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!!

Commit count: 0

cargo fmt