Install the command-line tool with
cargo install petname. If you don’t
have cargo yet, install Rust and you’ll have it.
If you want to use it in your own Rust project, add
petname = "" to
Cargo.toml in the
It’s published under the Apache License 2.0, the same as the other petname libraries.
This version of petname is simple, like its siblings. I put it together to keep my hand in with Rust, but it’s useful and convenient too, just as the original petname libraries are.
If there’s something missing or you find a bug, either create a new issue on GitHub or create a pull request with your changes.