#![allow(unused_imports)] #[macro_use] extern crate function_name; use hornvale::astronomy::star::name::{generate_star_name, INFIX, PREFIX, SUFFIX}; use hornvale::*; use rand::prelude::*; #[named] fn main() { init_pretty_env_logger(); trace_enter!(); let mut rng = thread_rng(); trace_var!(rng); println!( "Generating names from {} possibilities...", PREFIX.len() * INFIX.len() * SUFFIX.len() ); for _ in 1..20 { let name = generate_star_name(&mut rng); trace_var!(name); print_var!(name); } trace_exit!(); }