[badges.maintenance]
status = "actively-developed"
[[bench]]
harness = false
name = "affine2"
path = "benches/affine2.rs"
[[bench]]
harness = false
name = "affine3"
path = "benches/affine3.rs"
[[bench]]
harness = false
name = "iai"
path = "benches/iai.rs"
[[bench]]
harness = false
name = "mat2"
path = "benches/mat2.rs"
[[bench]]
harness = false
name = "mat3"
path = "benches/mat3.rs"
[[bench]]
harness = false
name = "mat3a"
path = "benches/mat3a.rs"
[[bench]]
harness = false
name = "mat4"
path = "benches/mat4.rs"
[[bench]]
harness = false
name = "quat"
path = "benches/quat.rs"
[[bench]]
bench = false
name = "support"
path = "benches/support.rs"
[[bench]]
harness = false
name = "vec2"
path = "benches/vec2.rs"
[[bench]]
harness = false
name = "vec3"
path = "benches/vec3.rs"
[[bench]]
harness = false
name = "vec3a"
path = "benches/vec3a.rs"
[[bench]]
harness = false
name = "vec4"
path = "benches/vec4.rs"
[dependencies.approx]
default-features = false
optional = true
version = "0.5"
[dependencies.bytecheck]
default-features = false
optional = true
version = "0.7"
[dependencies.bytemuck]
default-features = false
optional = true
version = "1.9"
[dependencies.libm]
default-features = false
optional = true
version = "0.2"
[dependencies.mint]
default-features = false
optional = true
version = "0.5.8"
[dependencies.rand]
default-features = false
optional = true
version = "0.8"
[dependencies.rkyv]
default-features = false
optional = true
version = "0.7"
[dependencies.serde]
default-features = false
optional = true
version = "1.0"
[dev-dependencies.rand_xoshiro]
version = "0.6"
[dev-dependencies.rkyv]
default-features = false
features = ["size_32"]
version = "0.7"
[dev-dependencies.serde_json]
version = "1.0"
[features]
core-simd = []
cuda = []
debug-glam-assert = []
default = ["std"]
fast-math = []
glam-assert = []
scalar-math = []
std = []
[lib]
bench = false
name = "glam"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(target_arch, values("spirv"))']
level = "warn"
priority = 0
[package]
authors = ["Cameron Hart <cameron.hart@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["game-engines", "no-std"]
description = "A simple and fast 3D math library for games and graphics"
edition = "2021"
keywords = ["gamedev", "math", "matrix", "vector", "quaternion"]
license = "MIT OR Apache-2.0"
name = "glam"
readme = "README.md"
repository = "https://github.com/bitshifter/glam-rs"
rust-version = "1.68.2"
version = "0.29.2"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.iai-callgrind]
version = "0.14"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[[test]]
name = "affine2"
path = "tests/affine2.rs"
[[test]]
name = "affine3"
path = "tests/affine3.rs"
[[test]]
name = "euler"
path = "tests/euler.rs"
[[test]]
name = "float"
path = "tests/float.rs"
[[test]]
name = "mat2"
path = "tests/mat2.rs"
[[test]]
name = "mat3"
path = "tests/mat3.rs"
[[test]]
name = "mat4"
path = "tests/mat4.rs"
[[test]]
name = "quat"
path = "tests/quat.rs"
[[test]]
name = "support"
path = "tests/support.rs"
[[test]]
name = "swizzles_f32"
path = "tests/swizzles_f32.rs"
[[test]]
name = "swizzles_f64"
path = "tests/swizzles_f64.rs"
[[test]]
name = "swizzles_i16"
path = "tests/swizzles_i16.rs"
[[test]]
name = "swizzles_i32"
path = "tests/swizzles_i32.rs"
[[test]]
name = "swizzles_i64"
path = "tests/swizzles_i64.rs"
[[test]]
name = "swizzles_i8"
path = "tests/swizzles_i8.rs"
[[test]]
name = "swizzles_u16"
path = "tests/swizzles_u16.rs"
[[test]]
name = "swizzles_u32"
path = "tests/swizzles_u32.rs"
[[test]]
name = "swizzles_u64"
path = "tests/swizzles_u64.rs"
[[test]]
name = "swizzles_u8"
path = "tests/swizzles_u8.rs"
[[test]]
name = "vec2"
path = "tests/vec2.rs"
[[test]]
name = "vec3"
path = "tests/vec3.rs"
[[test]]
name = "vec4"
path = "tests/vec4.rs"