boot_input

Crates.ioboot_input
lib.rsboot_input
version0.1.0
created_at2025-06-24 11:31:19.422606+00
updated_at2025-06-24 11:31:19.422606+00
descriptionA simple Rust crate to read input from the user in common formats
homepage
repositoryhttps://github.com/yourusername/input_helper
max_upload_size
id1724199
size2,944
Atharvanath Jha (bootloader-23)

documentation

README

input_helper

A lightweight Rust crate to simplify reading user input from the command line.

Features

  • read_string()
  • read_char()
  • read_int()
  • read_u64()
  • read_float()
  • read_double()

Example

use input_helper::*;

fn main() {
    let name = read_string();
    let age = read_int();
    let grade = read_float();

    println!(\"Name: {}, Age: {}, Grade: {}\", name, age, grade);
}
Commit count: 0

cargo fmt