Debian Codegraph @

debian/missing-sources/glam-0.22.0/Cargo.toml.orig

raw
1 [package]
2 name = "glam"
3 version = "0.22.0" # remember to update html_root_url
4 edition = "2021"
5 authors = ["Cameron Hart <[email protected]>"]
6 description = "A simple and fast 3D math library for games and graphics"
7 repository = "https://github.com/bitshifter/glam-rs"
8 readme = "README.md"
9 license = "MIT OR Apache-2.0"
10 keywords = ["gamedev", "math", "matrix", "vector", "quaternion"]
11 categories = ["game-engines", "no-std"]
12 rust-version = "1.58.1"
13
14 [badges]
15 maintenance = { status = "actively-developed" }
16
17 [features]
18 default = ["std"]
19
20 # enable support for the standard library
21 std = []
22
23 # enable additional glam checks if debug assertions are enabled
24 debug-glam-assert = []
25 # always enable additional glam checks
26 glam-assert = []
27
28 # this is primarily for testing the fallback implementation
29 scalar-math = []
30
31 # libm is required when building no_std
32 libm = ["num-traits/libm"]
33
34 # align types to match CUDA requirements
35 cuda = []
36
37 # Enables platform specific optimizations that might speed-up certain operations.
38 # This will cause APIs to output different results depending on the platform used
39 # and will likely break cross-platform determinism.
40 # This should NOT be enabled by intermediate libraries, deferring the decision to
41 # the end binary build instead.
42 fast-math = []
43
44 # experimental nightly portable-simd support
45 core-simd = []
46
47 [dependencies]
48 approx = { version = "0.5", optional = true, default-features = false }
49 bytemuck = { version = "1.5", optional = true, default-features = false }
50 mint = { version = "0.5.8", optional = true, default-features = false }
51 num-traits = { version = "0.2.14", optional = true, default-features = false }
52 rand = { version = "0.8", optional = true, default-features = false }
53 serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] }
54 rkyv = { version = "0.7", optional = true }
55 bytecheck = { version = "0.6", optional = true, default-features = false}
56
57 [dev-dependencies]
58 # rand_xoshiro is required for tests if rand is enabled
59 rand_xoshiro = "0.6"
60 serde_json = "1.0"
61
62 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
63 criterion = { version = "0.3", features = ["html_reports"] }
64
65 [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
66 wasm-bindgen-test = "0.3.0"
67
68 [lib]
69 bench = false
70
71 [[bench]]
72 name = "mat2"
73 harness = false
74
75 [[bench]]
76 name = "mat3"
77 harness = false
78
79 [[bench]]
80 name = "mat3a"
81 harness = false
82
83 [[bench]]
84 name = "affine2"
85 harness = false
86
87 [[bench]]
88 name = "affine3"
89 harness = false
90
91 [[bench]]
92 name = "mat4"
93 harness = false
94
95 [[bench]]
96 name = "quat"
97 harness = false
98
99 [[bench]]
100 name = "vec2"
101 harness = false
102
103 [[bench]]
104 name = "vec3"
105 harness = false
106
107 [[bench]]
108 name = "vec3a"
109 harness = false
110
111 [[bench]]
112 name = "vec4"
113 harness = false
114
115 [workspace]
116 members = [
117 "codegen",
118 "test_no_std",
119 ]