input_crate 0.1.0

By using this crate you will be able to take input from user, You just have to import this in your main.rs file 'extern crate input_crate; , 'input_crate::counter(startvalue,endvalue)';
Documentation
1
2
3
4
5
pub fn counter (start:i32,end:i32){
    for index in start..end{
        println!("Counter {}",index);
    }
}