Moniker-rs - is a port of .NET library for generating names with no dependencies.
At the moment there is two types of monikers: Moby
and Animal
.
dapper-ladybird
, callous-bear
.focused-lovelace
, determined-curie
.```rust extern crate monikerrs; use monikerrs::{Moby, Animal, Moniker};
// Returns something like "brave-archimedes" Moby::getrandom(); // Returns an array of names ["aardvark", "aardwolf", ...] Animal::getnames(); ```
See more examples here.
Creates a random moniker. To use the bin crate - pass one of a monikers type as an argument (case insensitive):
sh
$ moniker-cli animal
mollified-camel
or
sh
$ moniker-cli moby
hardcore-rosalind