text_io 0.1.13

really simple to use panicking input functions
Documentation
1
2
3
4
5
6
7
8
#[macro_use]
extern crate text_io;

pub fn main() {
    let a: i32;
    scan!("{}", a);
    assert_eq!(a, 42);
}