Crates.io | hexadecimal-digits |
lib.rs | hexadecimal-digits |
version | 0.4.0 |
created_at | 2025-01-29 01:55:14.552916+00 |
updated_at | 2025-01-29 01:55:14.552916+00 |
description | Provides uppercase and lowercase hexadecimal digit character tables |
homepage | |
repository | https://codeberg.org/RachaelAva1024/hexadecimal-digits |
max_upload_size | |
id | 1534298 |
size | 34,721 |
Provides uppercase and lowercase hexadecimal digit character tables
Have you ever needed to build an array of hexadecimal digits, but you're too lazy to do it yourself? Well you've come to the right place! This Rust crate comes with both uppercase and lowercase arrays of all 16 hexadecimal digits!
You can use cargo add hexadecimal-digits
to add the crate to your project!
After adding the crate to your project, you can import either the uppercase and/or lowercase modules:
use hexadecimal_digits::{
lowercase,
uppercase,
};
When you need to use one of the arrays, you can invoke them like this:
let hexadecimal_a: char = lowercase::HEXADECIMAL_DIGITS[10];
This project is licensed under the terms of the MIT license.