[package]
edition = "2024"
rust-version = "1.90.0"
name = "ggmath"
version = "0.16.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A math library for games and graphics with support for generics and SIMD."
readme = "README.md"
keywords = [
"math",
"matrix",
"simd",
"vector",
]
categories = [
"data-structures",
"game-development",
"graphics",
"mathematics",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Noam2Stein/ggmath"
[features]
assertions = []
bytemuck = ["dep:bytemuck"]
default = ["std"]
libm = ["dep:libm"]
mint = ["dep:mint"]
no-assertions = []
serde = ["dep:serde"]
std = []
[lib]
name = "ggmath"
path = "src/lib.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "scalar"
path = "tests/scalar.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"
[[bench]]
name = "mask_f32"
path = "benches/mask/f32.rs"
harness = false
[[bench]]
name = "vector_f32"
path = "benches/vector/f32.rs"
harness = false
[dependencies.bytemuck]
version = "1.24.0"
optional = true
[dependencies.libm]
version = "0.2.16"
optional = true
[dependencies.mint]
version = "0.5.9"
optional = true
[dependencies.serde]
version = "1.0.228"
optional = true
[dev-dependencies.assert-impl-trait]
version = "1.0.0"
[dev-dependencies.colored]
version = "3.1.1"
[dev-dependencies.glam]
version = "0.31.0"
[dev-dependencies.gungraun]
version = "0.17.0"
[dev-dependencies.itertools]
version = "0.14.0"
[dev-dependencies.serde_json]
version = "1.0.149"
[profile.bench]
lto = "fat"
codegen-units = 1