blob: a6fa1154f4fc7302d2f5f3709cd631632557f6f5 [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.68.2"
name = "glam"
version = "0.30.0"
authors = ["Cameron Hart <cameron.hart@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple and fast 3D math library for games and graphics"
readme = "README.md"
keywords = [
"gamedev",
"math",
"matrix",
"vector",
"quaternion",
]
categories = [
"game-engines",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bitshifter/glam-rs"
[lib]
name = "glam"
path = "src/lib.rs"
bench = false
[[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"
[[bench]]
name = "affine2"
path = "benches/affine2.rs"
harness = false
[[bench]]
name = "affine3"
path = "benches/affine3.rs"
harness = false
[[bench]]
name = "iai"
path = "benches/iai.rs"
harness = false
[[bench]]
name = "mat2"
path = "benches/mat2.rs"
harness = false
[[bench]]
name = "mat3"
path = "benches/mat3.rs"
harness = false
[[bench]]
name = "mat3a"
path = "benches/mat3a.rs"
harness = false
[[bench]]
name = "mat4"
path = "benches/mat4.rs"
harness = false
[[bench]]
name = "quat"
path = "benches/quat.rs"
harness = false
[[bench]]
name = "support"
path = "benches/support.rs"
bench = false
[[bench]]
name = "vec2"
path = "benches/vec2.rs"
harness = false
[[bench]]
name = "vec3"
path = "benches/vec3.rs"
harness = false
[[bench]]
name = "vec3a"
path = "benches/vec3a.rs"
harness = false
[[bench]]
name = "vec4"
path = "benches/vec4.rs"
harness = false
[dependencies.approx]
version = "0.5"
optional = true
default-features = false
[dependencies.bytemuck]
version = "1.9"
optional = true
default-features = false
[dependencies.libm]
version = "0.2"
optional = true
default-features = false
[dependencies.mint]
version = "0.5.8"
optional = true
default-features = false
[dependencies.rand]
version = "0.9"
optional = true
default-features = false
[dependencies.rkyv]
version = "0.8"
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
optional = true
default-features = false
[dev-dependencies.rand_xoshiro]
version = "0.7"
[dev-dependencies.rkyv]
version = "0.8"
features = ["alloc"]
default-features = false
[dev-dependencies.serde_json]
version = "1.0"
[features]
bytecheck = ["rkyv/bytecheck"]
core-simd = []
cuda = []
debug-glam-assert = []
default = ["std"]
fast-math = []
glam-assert = []
scalar-math = []
std = []
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[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"
[badges.maintenance]
status = "actively-developed"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(target_arch, values("spirv"))']