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