| Crates.io | hexga_typedef |
| lib.rs | hexga_typedef |
| version | 0.0.11-beta.3 |
| created_at | 2025-03-28 17:32:39.282226+00 |
| updated_at | 2025-08-12 19:05:57.014857+00 |
| description | 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. |
| homepage | https://github.com/Thomas-Mewily/hexga |
| repository | https://github.com/Thomas-Mewily/hexga |
| max_upload_size | |
| id | 1609906 |
| size | 7,885 |
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 = []
Check hexga : https://crates.io/crates/hexga if you are interested in a quick start, it regroup multiple hexga crates.