| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.58.1" |
| 15 |
name = "glam" |
| 16 |
version = "0.23.0" |
| 17 |
authors = ["Cameron Hart <[email protected]>"] |
| 18 |
description = "A simple and fast 3D math library for games and graphics" |
| 19 |
readme = "README.md" |
| 20 |
keywords = [ |
| 21 |
"gamedev", |
| 22 |
"math", |
| 23 |
"matrix", |
| 24 |
"vector", |
| 25 |
"quaternion", |
| 26 |
] |
| 27 |
categories = [ |
| 28 |
"game-engines", |
| 29 |
"no-std", |
| 30 |
] |
| 31 |
license = "MIT OR Apache-2.0" |
| 32 |
repository = "https://github.com/bitshifter/glam-rs" |
| 33 |
|
| 34 |
[lib] |
| 35 |
bench = false |
| 36 |
|
| 37 |
[[bench]] |
| 38 |
name = "mat2" |
| 39 |
harness = false |
| 40 |
|
| 41 |
[[bench]] |
| 42 |
name = "mat3" |
| 43 |
harness = false |
| 44 |
|
| 45 |
[[bench]] |
| 46 |
name = "mat3a" |
| 47 |
harness = false |
| 48 |
|
| 49 |
[[bench]] |
| 50 |
name = "affine2" |
| 51 |
harness = false |
| 52 |
|
| 53 |
[[bench]] |
| 54 |
name = "affine3" |
| 55 |
harness = false |
| 56 |
|
| 57 |
[[bench]] |
| 58 |
name = "mat4" |
| 59 |
harness = false |
| 60 |
|
| 61 |
[[bench]] |
| 62 |
name = "quat" |
| 63 |
harness = false |
| 64 |
|
| 65 |
[[bench]] |
| 66 |
name = "vec2" |
| 67 |
harness = false |
| 68 |
|
| 69 |
[[bench]] |
| 70 |
name = "vec3" |
| 71 |
harness = false |
| 72 |
|
| 73 |
[[bench]] |
| 74 |
name = "vec3a" |
| 75 |
harness = false |
| 76 |
|
| 77 |
[[bench]] |
| 78 |
name = "vec4" |
| 79 |
harness = false |
| 80 |
|
| 81 |
[dependencies.approx] |
| 82 |
version = "0.5" |
| 83 |
optional = true |
| 84 |
default-features = false |
| 85 |
|
| 86 |
[dependencies.bytecheck] |
| 87 |
version = "0.6" |
| 88 |
optional = true |
| 89 |
default-features = false |
| 90 |
|
| 91 |
[dependencies.bytemuck] |
| 92 |
version = "1.5" |
| 93 |
optional = true |
| 94 |
default-features = false |
| 95 |
|
| 96 |
[dependencies.mint] |
| 97 |
version = "0.5.8" |
| 98 |
optional = true |
| 99 |
default-features = false |
| 100 |
|
| 101 |
[dependencies.num-traits] |
| 102 |
version = "0.2.14" |
| 103 |
optional = true |
| 104 |
default-features = false |
| 105 |
|
| 106 |
[dependencies.rand] |
| 107 |
version = "0.8" |
| 108 |
optional = true |
| 109 |
default-features = false |
| 110 |
|
| 111 |
[dependencies.rkyv] |
| 112 |
version = "0.7" |
| 113 |
optional = true |
| 114 |
|
| 115 |
[dependencies.serde] |
| 116 |
version = "1.0" |
| 117 |
features = ["derive"] |
| 118 |
optional = true |
| 119 |
default-features = false |
| 120 |
|
| 121 |
[dev-dependencies.rand_xoshiro] |
| 122 |
version = "0.6" |
| 123 |
|
| 124 |
[dev-dependencies.serde_json] |
| 125 |
version = "1.0" |
| 126 |
|
| 127 |
[features] |
| 128 |
core-simd = [] |
| 129 |
cuda = [] |
| 130 |
debug-glam-assert = [] |
| 131 |
default = ["std"] |
| 132 |
fast-math = [] |
| 133 |
glam-assert = [] |
| 134 |
libm = ["num-traits/libm"] |
| 135 |
scalar-math = [] |
| 136 |
std = [] |
| 137 |
|
| 138 |
[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion] |
| 139 |
version = "0.4" |
| 140 |
features = ["html_reports"] |
| 141 |
|
| 142 |
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] |
| 143 |
version = "0.3.0" |
| 144 |
|
| 145 |
[badges.maintenance] |
| 146 |
status = "actively-developed" |