• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.68.2"
15name = "glam"
16version = "0.30.0"
17authors = ["Cameron Hart <cameron.hart@gmail.com>"]
18build = false
19autolib = false
20autobins = false
21autoexamples = false
22autotests = false
23autobenches = false
24description = "A simple and fast 3D math library for games and graphics"
25readme = "README.md"
26keywords = [
27    "gamedev",
28    "math",
29    "matrix",
30    "vector",
31    "quaternion",
32]
33categories = [
34    "game-engines",
35    "no-std",
36]
37license = "MIT OR Apache-2.0"
38repository = "https://github.com/bitshifter/glam-rs"
39
40[lib]
41name = "glam"
42path = "src/lib.rs"
43bench = false
44
45[[test]]
46name = "affine2"
47path = "tests/affine2.rs"
48
49[[test]]
50name = "affine3"
51path = "tests/affine3.rs"
52
53[[test]]
54name = "euler"
55path = "tests/euler.rs"
56
57[[test]]
58name = "float"
59path = "tests/float.rs"
60
61[[test]]
62name = "mat2"
63path = "tests/mat2.rs"
64
65[[test]]
66name = "mat3"
67path = "tests/mat3.rs"
68
69[[test]]
70name = "mat4"
71path = "tests/mat4.rs"
72
73[[test]]
74name = "quat"
75path = "tests/quat.rs"
76
77[[test]]
78name = "support"
79path = "tests/support.rs"
80
81[[test]]
82name = "swizzles_f32"
83path = "tests/swizzles_f32.rs"
84
85[[test]]
86name = "swizzles_f64"
87path = "tests/swizzles_f64.rs"
88
89[[test]]
90name = "swizzles_i16"
91path = "tests/swizzles_i16.rs"
92
93[[test]]
94name = "swizzles_i32"
95path = "tests/swizzles_i32.rs"
96
97[[test]]
98name = "swizzles_i64"
99path = "tests/swizzles_i64.rs"
100
101[[test]]
102name = "swizzles_i8"
103path = "tests/swizzles_i8.rs"
104
105[[test]]
106name = "swizzles_u16"
107path = "tests/swizzles_u16.rs"
108
109[[test]]
110name = "swizzles_u32"
111path = "tests/swizzles_u32.rs"
112
113[[test]]
114name = "swizzles_u64"
115path = "tests/swizzles_u64.rs"
116
117[[test]]
118name = "swizzles_u8"
119path = "tests/swizzles_u8.rs"
120
121[[test]]
122name = "vec2"
123path = "tests/vec2.rs"
124
125[[test]]
126name = "vec3"
127path = "tests/vec3.rs"
128
129[[test]]
130name = "vec4"
131path = "tests/vec4.rs"
132
133[[bench]]
134name = "affine2"
135path = "benches/affine2.rs"
136harness = false
137
138[[bench]]
139name = "affine3"
140path = "benches/affine3.rs"
141harness = false
142
143[[bench]]
144name = "iai"
145path = "benches/iai.rs"
146harness = false
147
148[[bench]]
149name = "mat2"
150path = "benches/mat2.rs"
151harness = false
152
153[[bench]]
154name = "mat3"
155path = "benches/mat3.rs"
156harness = false
157
158[[bench]]
159name = "mat3a"
160path = "benches/mat3a.rs"
161harness = false
162
163[[bench]]
164name = "mat4"
165path = "benches/mat4.rs"
166harness = false
167
168[[bench]]
169name = "quat"
170path = "benches/quat.rs"
171harness = false
172
173[[bench]]
174name = "support"
175path = "benches/support.rs"
176bench = false
177
178[[bench]]
179name = "vec2"
180path = "benches/vec2.rs"
181harness = false
182
183[[bench]]
184name = "vec3"
185path = "benches/vec3.rs"
186harness = false
187
188[[bench]]
189name = "vec3a"
190path = "benches/vec3a.rs"
191harness = false
192
193[[bench]]
194name = "vec4"
195path = "benches/vec4.rs"
196harness = false
197
198[dependencies.approx]
199version = "0.5"
200optional = true
201default-features = false
202
203[dependencies.bytemuck]
204version = "1.9"
205optional = true
206default-features = false
207
208[dependencies.libm]
209version = "0.2"
210optional = true
211default-features = false
212
213[dependencies.mint]
214version = "0.5.8"
215optional = true
216default-features = false
217
218[dependencies.rand]
219version = "0.9"
220optional = true
221default-features = false
222
223[dependencies.rkyv]
224version = "0.8"
225optional = true
226default-features = false
227
228[dependencies.serde]
229version = "1.0"
230optional = true
231default-features = false
232
233[dev-dependencies.rand_xoshiro]
234version = "0.7"
235
236[dev-dependencies.rkyv]
237version = "0.8"
238features = ["alloc"]
239default-features = false
240
241[dev-dependencies.serde_json]
242version = "1.0"
243
244[features]
245bytecheck = ["rkyv/bytecheck"]
246core-simd = []
247cuda = []
248debug-glam-assert = []
249default = ["std"]
250fast-math = []
251glam-assert = []
252scalar-math = []
253std = []
254
255[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
256version = "0.5"
257features = ["html_reports"]
258
259[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.iai-callgrind]
260version = "0.14"
261
262[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
263version = "0.3"
264
265[badges.maintenance]
266status = "actively-developed"
267
268[lints.rust.unexpected_cfgs]
269level = "warn"
270priority = 0
271check-cfg = ['cfg(target_arch, values("spirv"))']
272