Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern crate crypto;
- use std::io;
- use std::io::BufReader;
- use std::io::BufRead;
- fn main() {
- let inputDataName = ["API to request"];
- let mut inputData = [String::new(); 1];
- let mut inputReader = BufReader::new(io::stdin());
- let mut cnt = 0;
- for i in inputDataName.iter() {
- println!("Input {}", i);
- inputReader.read_line(&mut inputData[cnt]);
- cnt += 1;
- }
- println!("{}", inputData[0]);
- println!("Hello, world!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement