A tiny library to work with base-10, base-16, and base-2 numbers in Rust!
Since I like numbers and I like Rust, I thought I'd port a library that I wrote in Javascript and Dart to Rust. These three projects all have one thing in common: They all provide simple methods to convert between numbers of different bases. These bases are 2, 10, and 16. Enjoy! Nota bene: I like the Marx brothers.
To use Chico in your Rust project, add this line to your project's Cargo.toml
:
chico = "0.3.0"
You can install Chico via Cargo itself using this command:
cargo install chico
Alternatively, you can download a compiled binary for 64-bit systems from this repository's Releases section.
To understand how to use Chico in your project, please refer to the project's documentation.
- Initial release.
- Upload to GitHub.
- Added better handling of errors.
- Added a CLI tool.
- Updated documentation.
- Made every terser and more elegant.
- Relicensed the project under the DSL v1.
- Added support for base-8 numbers in the library.
- Added support for base-8 numbers in the CLI.
- Added
clippy
linting to the CI pipeline. - Refactored methods for base-2, base-8, and base-16.
- Cycled errors up to the
main
function for the CLI app. - Removed the
utils
module.
- Chico by Alexander Abraham a.k.a. "Angel Dollface"
- Licensed under the DSL v1.