Debian Codegraph @

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

raw
1 [package]
2 name = "glam"
3 version = "0.20.5" # remember to update html_root_url
4 edition = "2018"
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
13 [badges]
14 maintenance = { status = "actively-developed" }
15
16 [features]
17 default = ["std"]
18
19 # enable support for the standard library
20 std = []
21
22 # enable additional glam checks if debug assertions are enabled
23 debug-glam-assert = []
24 # always enable additional glam checks
25 glam-assert = []
26
27 # this is primarily for testing the fallback implementation
28 scalar-math = []
29
30 # deprecated and will move to a separate crate
31 transform-types = []
32
33 # libm is required when building no_std
34 libm = ["num-traits/libm"]
35
36 # align types to match CUDA requirements
37 cuda = []
38
39 # Enables platform specific optimizations that might speed-up certain operations.
40 # This will cause APIs to output different results depending on the platform used
41 # and will likely break cross-platform determinism.
42 # This should NOT be enabled by intermediate libraries, deferring the decision to
43 # the end binary build instead.
44 fast-math = []
45
46 [dependencies]
47 approx = { version = "0.5", optional = true, default-features = false }
48 bytemuck = { version = "1.5", optional = true, default-features = false }
49 mint = { version = "0.5.8", optional = true, default-features = false }
50 num-traits = { version = "0.2.14", optional = true, default-features = false }
51 rand = { version = "0.8", optional = true, default-features = false }
52 serde = { version = "1.0", optional = true, features = ["derive"] }
53 rkyv = { version = "0.7", optional = true }
54 bytecheck = { version = "0.6", optional = true, default-features = false}
55
56 [dev-dependencies]
57 # rand_xoshiro is required for tests if rand is enabled
58 rand_xoshiro = "0.6"
59 serde_json = "1.0"
60
61 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
62 criterion = { version = "0.3", features = ["html_reports"] }
63
64 [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
65 wasm-bindgen-test = "0.3.0"
66
67 [lib]
68 bench = false
69
70 [[bench]]
71 name = "mat2"
72 harness = false
73
74 [[bench]]
75 name = "mat3"
76 harness = false
77
78 [[bench]]
79 name = "mat3a"
80 harness = false
81
82 [[bench]]
83 name = "affine2"
84 harness = false
85
86 [[bench]]
87 name = "affine3"
88 harness = false
89
90 [[bench]]
91 name = "mat4"
92 harness = false
93
94 [[bench]]
95 name = "quat"
96 harness = false
97
98 [[bench]]
99 name = "transform"
100 harness = false
101 required-features = ["transform-types"]
102
103 [[bench]]
104 name = "vec2"
105 harness = false
106
107 [[bench]]
108 name = "vec3"
109 harness = false
110
111 [[bench]]
112 name = "vec3a"
113 harness = false
114
115 [[bench]]
116 name = "vec4"
117 harness = false