| Crates.io | questionThing |
| lib.rs | questionThing |
| version | 0.1.4 |
| created_at | 2025-08-09 11:19:43.857905+00 |
| updated_at | 2025-08-09 11:22:15.97789+00 |
| description | package to make input question stuff easier |
| homepage | |
| repository | https://github.com/5quirre1/question-thing |
| max_upload_size | |
| id | 1787846 |
| size | 3,847 |
uhh it's really simple actually LMFAO
so what it does is ask the input you give (first param) and if you don't give an input like just pressing enter, it prints out the 2nd param !! really simple but it can be useful i think LAWL
small example:
use questionThing::question;
fn main() {
let s: String = question("put a name!!", "please put a name");
if s.trim() != "" {
println!("hai {}!!!", s.trim());
} else {
println!("where name how ?!?!? what");
}
}