hexga_typedef

Crates.iohexga_typedef
lib.rshexga_typedef
version0.0.11-beta.3
created_at2025-03-28 17:32:39.282226+00
updated_at2025-08-12 19:05:57.014857+00
descriptionProvide a common typedef for `float`, `int` and `uint`. The precision can be changed with feature flags and can be easily shared across multiple crates.
homepagehttps://github.com/Thomas-Mewily/hexga
repositoryhttps://github.com/Thomas-Mewily/hexga
max_upload_size
id1609906
size7,885
Mewily (Thomas-Mewily)

documentation

README

HexGa Typedef

Provide a common typedef for float, int and uint. The precision can be changed with feature flags and can be easily shared across multiple crates.

You must enable one flag for int and for float precision. See the toml to change the precision :

[features]
default = ["int_are_32_bits", "float_are_32_bits"]

int_are_8_bits    = []
int_are_16_bits   = []
int_are_32_bits   = []
int_are_64_bits   = []
int_are_size_bits = []

float_are_32_bits   = []
float_are_64_bits   = []
float_are_size_bits = []

Main Hexga crate

Check hexga : https://crates.io/crates/hexga if you are interested in a quick start, it regroup multiple hexga crates.

Commit count: 338

cargo fmt