hexadecimal-digits

Crates.iohexadecimal-digits
lib.rshexadecimal-digits
version0.4.0
created_at2025-01-29 01:55:14.552916+00
updated_at2025-01-29 01:55:14.552916+00
descriptionProvides uppercase and lowercase hexadecimal digit character tables
homepage
repositoryhttps://codeberg.org/RachaelAva1024/hexadecimal-digits
max_upload_size
id1534298
size34,721
Rachael Ava (RachaelAva1024)

documentation

https://docs.rs/hexadecimal-digits

README

Hexadecimal Digits

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!

Usage

Adding to your project

You can use cargo add hexadecimal-digits to add the crate to your project!

Using it in 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];

Licensing

This project is licensed under the terms of the MIT license.

Commit count: 0

cargo fmt