[package]
name = "hexga_typedef"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
readme.workspace = true

keywords = ["math", "number"]
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."
categories = ["mathematics", "rust-patterns"]

[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 = []

[dependencies]
