call_input 0.1.0

Get user input in rust like that of cs50 header file
Documentation
  • Coverage
  • 0%
    0 out of 18 items documented0 out of 17 items with examples
  • Size
  • Source code size: 4.37 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Try3D

call_input

Get user input in rust

Installation and usage

$ cargo add call_input

mod call_input;

fn main() {
    let n = call_input::get_i32("Enter your number:");
    let s = call_input::get_string("Enter your string:");
    let f = call_input::get_float("Enter your float:");
}