Debian Codegraph @

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

raw
1 [package]
2 name = "glam"
3 version = "0.21.3" # 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. This is currently broken due to
45 # f32 min and max being removed on nightly
46 core-simd = []
47
48 [dependencies]
49 approx = { version = "0.5", optional = true, default-features = false }
50 bytemuck = { version = "1.5", optional = true, default-features = false }
51 mint = { version = "0.5.8", optional = true, default-features = false }
52 num-traits = { version = "0.2.14", optional = true, default-features = false }
53 rand = { version = "0.8", optional = true, default-features = false }
54 serde = { version = "1.0", optional = true, features = ["derive"] }
55 rkyv = { version = "0.7", optional = true }
56 bytecheck = { version = "0.6", optional = true, default-features = false}
57
58 [dev-dependencies]
59 # rand_xoshiro is required for tests if rand is enabled
60 rand_xoshiro = "0.6"
61 serde_json = "1.0"
62
63 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
64 criterion = { version = "0.3", features = ["html_reports"] }
65
66 [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
67 wasm-bindgen-test = "0.3.0"
68
69 [lib]
70 bench = false
71
72 [[bench]]
73 name = "mat2"
74 harness = false
75
76 [[bench]]
77 name = "mat3"
78 harness = false
79
80 [[bench]]
81 name = "mat3a"
82 harness = false
83
84 [[bench]]
85 name = "affine2"
86 harness = false
87
88 [[bench]]
89 name = "affine3"
90 harness = false
91
92 [[bench]]
93 name = "mat4"
94 harness = false
95
96 [[bench]]
97 name = "quat"
98 harness = false
99
100 [[bench]]
101 name = "vec2"
102 harness = false
103
104 [[bench]]
105 name = "vec3"
106 harness = false
107
108 [[bench]]
109 name = "vec3a"
110 harness = false
111
112 [[bench]]
113 name = "vec4"
114 harness = false
115
116 [workspace]
117 members = [
118 "codegen",
119 "test_no_std",
120 ]