Turn an integer into a Japan-ish word which is more easy to remember, or vice-versa. Example of numbers and their encoded value:
Number | Encoded Value |
---|---|
-1 | xabi |
2248 | gume |
2592 | hayu |
475349 | munemo |
94714682 | yoshimitsu |
munemo is my first crate and is one of the means for me to study Rust.
To use or develop this crate, you need Rust.
Add this crate under [dependency]
section in your Cargo.toml
file. Usage of this library is described on the documentation.
This library is built using Test-Driven Development pattern. Here are rough pattern used while developing this library:
- Write the test.
- Ensure the test fails using
cargo test
. - Write the implementation.
- Ensure the failing test has been suceeded using
cargo test
. - Make a Git commit.
Additional steps if you need to refactor:
- Refactor the code.
- Make sure the tests success using
cargo test
. - Make a Git commit.
To build this library, you can use cargo build
. Additional cargo
commands can be discovered in the documentation.
MIT.
Creation of this crate was inspired from munemo Ruby gem by John Mettraux.
In additional, here are resources I learnt while making this crate: