yubibomb 0.1.0

Don't you love when you accidentally tap your Yubikey when you have your IRC client in focus and you send 987947 into Freenode? Want to be able to have that experience without having to reach all the way over to your laptop's USB port? Now you can!
/* Copyright © 2017 Randy Barlow

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.*/

extern crate rand;

use rand::Rng;


fn main() {
    let yubibomb = rand::thread_rng().gen_range(0, 1000000);

    println!("{:06}", yubibomb);
}