1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#[macro_use]
pub mod macros;
pub mod dices;
pub mod diceware_info;
pub mod option_parser;
pub mod passwords;

pub fn generate_diceware_passwords(options: option_parser::Options) -> String {
    let diceware_repository = self::diceware_info::build_diceware_repository();

    passwords::generate_diceware_passwords(&options, diceware_repository)
}