Crates.io | readln |
lib.rs | readln |
version | 0.1.0 |
source | src |
created_at | 2022-10-07 15:37:26.223706 |
updated_at | 2022-10-07 15:37:26.223706 |
description | Finally! Normal input for Rust... |
homepage | |
repository | https://github.com/mrMiiao/readln |
max_upload_size | |
id | 682925 |
size | 3,042 |
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();
}