[package]
name = "glam"
version = "0.28.0"
edition = "2021"
authors = ["Cameron Hart <cameron.hart@gmail.com>"]
description = "A simple and fast 3D math library for games and graphics"
repository = "https://github.com/bitshifter/glam-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["gamedev", "math", "matrix", "vector", "quaternion"]
categories = ["game-engines", "no-std"]
rust-version = "1.68.2"
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["std"]
std = []
debug-glam-assert = []
glam-assert = []
scalar-math = []
cuda = []
fast-math = []
core-simd = []
[dependencies]
approx = { version = "0.5", optional = true, default-features = false }
bytemuck = { version = "1.9", optional = true, default-features = false }
mint = { version = "0.5.8", optional = true, default-features = false }
rand = { version = "0.8", optional = true, default-features = false }
serde = { version = "1.0", optional = true, default-features = false }
rkyv = { version = "0.7", optional = true, default-features = false }
bytecheck = { version = "0.7", optional = true, default-features = false }
libm = { version = "0.2", optional = true, default-features = false}
[dev-dependencies]
rand_xoshiro = "0.6"
rkyv = { version = "0.7", default-features = false, features = ["size_32"] }
serde_json = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
iai-callgrind = "0.11.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.0"
[lib]
bench = false
[[bench]]
name = "mat2"
harness = false
[[bench]]
name = "mat3"
harness = false
[[bench]]
name = "mat3a"
harness = false
[[bench]]
name = "affine2"
harness = false
[[bench]]
name = "affine3"
harness = false
[[bench]]
name = "mat4"
harness = false
[[bench]]
name = "quat"
harness = false
[[bench]]
name = "support"
bench = false
[[bench]]
name = "vec2"
harness = false
[[bench]]
name = "vec3"
harness = false
[[bench]]
name = "vec3a"
harness = false
[[bench]]
name = "vec4"
harness = false
[[bench]]
name = "iai"
harness = false
[workspace]
members = [
"codegen",
"test_no_std",
]