#read #input #io-read #io

yanked readln

Finally! Normal input for Rust

1 unstable release

0.1.0 Oct 7, 2022

#77 in #io-read

MPL-2.0 license

4KB

crates.io License Documentation

readln

readln crate provides you access to read macro.

Example:

#[macro_use]
extern crate readln;

fn main() {
    let _x: &str = read!().unwrap();
    let _y: u8 = read!(u8).unwrap();
}

lib.rs:

readln crate provides you access to read macro.

Example:

#[macro_use]
extern crate readln;

fn main() {
    let _x: &str = read!().unwrap();
    let _y: u8 = read!(u8).unwrap();
}

No runtime deps