Debian Codegraph @

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

raw
1 [package]
2 name = "glam"
3 version = "0.17.3" # 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 [dependencies]
37 approx = { version = "0.5", optional = true, default-features = false }
38 bytemuck = { version = "1.5", optional = true, default-features = false }
39 mint = { version = "0.5", optional = true, default-features = false }
40 num-traits = { version = "0.2.14", optional = true, default-features = false }
41 rand = { version = "0.8", optional = true, default-features = false }
42 serde = { version = "1.0", optional = true, features = ["derive"] }
43
44 [dev-dependencies]
45 criterion = { version = "0.3", features = ["html_reports"] }
46 # rand_xoshiro is required for tests if rand is enabled
47 rand_xoshiro = "0.6"
48 serde_json = "1.0"
49
50 [lib]
51 bench = false
52
53 [[bench]]
54 name = "mat2"
55 harness = false
56
57 [[bench]]
58 name = "mat3"
59 harness = false
60
61 [[bench]]
62 name = "mat3a"
63 harness = false
64
65 [[bench]]
66 name = "affine2"
67 harness = false
68
69 [[bench]]
70 name = "affine3"
71 harness = false
72
73 [[bench]]
74 name = "mat4"
75 harness = false
76
77 [[bench]]
78 name = "quat"
79 harness = false
80
81 [[bench]]
82 name = "transform"
83 harness = false
84 required-features = ["transform-types"]
85
86 [[bench]]
87 name = "vec2"
88 harness = false
89
90 [[bench]]
91 name = "vec3"
92 harness = false
93
94 [[bench]]
95 name = "vec3a"
96 harness = false
97
98 [[bench]]
99 name = "vec4"
100 harness = false