September 28th, 2023, 13:23 UTC

Rust Petnames

rust-petname 2.0.0-beta.2

rust-petname 2.0.0-beta.2 is available to test. I suspect this will be the last beta before I release 2.0.0.

rust-petname is fairly simple: it generates human readable random names. It can be used as a library in your Rust projects, or as a command-line application, typically by running cargo install petname.

There are breaking changes if you’re upgrading from 1.x for both the library and the command-line tool. Please read the notes to find out how to upgrade.

Sadly, one feature was removed: the non-repeating iterator. It was interesting to work on but unsatisfying to use – it didn’t feel particularly random. There’s some discussion (with myself, mostly) in issue #61.

On the other hand, alliteration was improved, the API was tidied up, and several tests were added to keep it drop-in compatible with dustinkirkland/petname.

Please try it out! File bugs, feature requests, and feedback here.

Thank you!