2 unstable releases
0.2.0 | Aug 8, 2023 |
---|---|
0.1.0 | Aug 4, 2023 |
#113 in #mathematics
19KB
367 lines
CHICO
A tiny library to work with base-10, base-16, and base-2 numbers in Rust!
ABOUT
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.
INSTALLATION
FOR RUST PROJECTS
To use Chico in your Rust project, add this line to your project's Cargo.toml
:
chico = "0.2.0"
FOR THE COMMAND LINE
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.
USAGE
To understand how to use Chico in your project, please refer to the project's documentation.
CHANGELOG
Version 0.1.0
- Initial release.
- Upload to GitHub.
Version 0.2.0
- Added better handling of errors.
- Added a CLI tool.
- Updated documentation.
NOTE
- Chico by Alexander Abraham a.k.a. "Angel Dollface"
- Licensed under the MIT license.
Dependencies
~360KB