rust-haikunator
Generate Heroku-like random names to use in your Rust applications.
Installation
Add to your Config.toml
dependencies
[]
= "0.1.0"
Usage
Include the crate; create a Haikunator
instance; then call haikunate
.
extern crate haikunator;
use ;
See the test files at tests/lib.rs
for more examples.
Options
The following options are available:
Note: If token_hex
is true, the value of token_chars
is ignored.
Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features
Other Languages
Haikunator is also available in other languages. Check them out:
- Node: https://github.com/Atrox/haikunatorjs
- .NET: https://github.com/Atrox/haikunator.net
- Python: https://github.com/Atrox/haikunatorpy
- PHP: https://github.com/Atrox/haikunatorphp
- Java: https://github.com/Atrox/haikunatorjava
- Dart: https://github.com/Atrox/haikunatordart
- Ruby: https://github.com/usmanbashir/haikunator
License
rust-haikunator is available under the MIT License.