Debian Codegraph @

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

raw
1 [package]
2 name = "glam"
3 version = "0.14.0" # 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 travis-ci = { repository = "bitshifter/glam-rs" }
15 coveralls = { repository = "bitshifter/glam-rs" }
16 maintenance = { status = "experimental" }
17
18 [features]
19 default = ["std"]
20
21 # enable support for the standard library
22 std = []
23
24 # enable additional glam checks if debug assertions are enabled
25 debug-glam-assert = []
26 # always enable additional glam checks
27 glam-assert = []
28
29 # this is primarily for testing the fallback implementation
30 scalar-math = []
31
32 # trying out transform types instead of matrices but they are generally slower
33 # at everything except for inverse. They are 16 bytes smaller than a Mat4.
34 transform-types = []
35
36 # libm is required when building no_std
37 libm = ["num-traits/libm"]
38
39 [dependencies]
40 bytemuck = { version = "1.5", optional = true, default-features = false }
41 mint = { version = "0.5", optional = true, default-features = false }
42 num-traits = { version = "0.2.14", optional = true, default-features = false }
43 rand = { version = "0.8", optional = true, default-features = false }
44 serde = { version = "1.0", optional = true, features = ["derive"] }
45 spirv-std = { version = "0.4.0-alpha.4", optional = true }
46
47 [dev-dependencies]
48 criterion = "0.3"
49 # rand_xoshiro is required for tests if rand is enabled
50 rand_xoshiro = "0.6"
51 serde_json = "1.0"
52
53 [lib]
54 bench = false
55
56 [[bench]]
57 name = "mat2"
58 harness = false
59
60 [[bench]]
61 name = "mat3"
62 harness = false
63
64 [[bench]]
65 name = "mat4"
66 harness = false
67
68 [[bench]]
69 name = "quat"
70 harness = false
71
72 [[bench]]
73 name = "transform"
74 harness = false
75 required-features = ["transform-types"]
76
77 [[bench]]
78 name = "vec2"
79 harness = false
80
81 [[bench]]
82 name = "vec3"
83 harness = false
84
85 [[bench]]
86 name = "vec3a"
87 harness = false
88
89 [[bench]]
90 name = "vec4"
91 harness = false