usr_input

Crates.iousr_input
lib.rsusr_input
version0.1.1
created_at2025-12-04 05:06:27.038042+00
updated_at2025-12-04 05:11:16.172443+00
descriptionA simple macro to get user input in 1 line
homepage
repositoryhttps://github.com/Wdboyes13/usrinput-rs
max_upload_size
id1965910
size3,982
William (Wdboyes13)

documentation

README

usr_input rust

Purpose

This is a simple crate that lets you get command line input from a user in a single line

Usage

let mut inp = String::new();
input!(inp, "Enter your name: ").expect("Failed to read input!");  

License

Copyright (c) 2025 Wdboyes13
This crate is licensed under the MIT license
Full license available at LICENSE
SPDX-License-Identifier: MIT

Commit count: 0

cargo fmt