forked from yoanlcq/vek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
64 lines (60 loc) · 1.95 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
version = "0.15.7" # remember to update html_root_url in src/lib.rs
authors = ["Yoan Lecoq <[email protected]>", "Joshua Barretto <[email protected]>", "Sunjay Varma <[email protected]>", "timokoesters <[email protected]>", "Imbris <[email protected]>"]
description = "Generic 2D-3D math swiss army knife for game engines, with SIMD support and focus on convenience."
documentation = "https://docs.rs/vek"
keywords = ["vector", "matrix", "simd", "quaternion", "bezier"]
categories = [ "algorithms", "data-structures", "no-std", "science" ]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/yoanlcq/vek"
name = "vek"
build = "build.rs"
exclude = [
"ci/*",
"appveyor.yml",
".travis.yml",
]
edition = "2018"
[badges]
travis-ci = { repository = "yoanlcq/vek" }
appveyor = { repository = "yoanlcq/vek" }
maintenance = { status = "experimental" }
[features]
default = ["repr_simd", "rgba", "rgb", "std"]
# NOTE: The below ones (commented out) are enforced, because doc tests assume their availability.
# vec2 = []
# vec3 = []
# vec4 = []
# mat4 = []
# mat2 = []
# mat3 = []
# extent2 = []
# extent3 = []
# geom = []
# quaternion = []
# bezier = []
vec8 = []
vec16 = []
vec32 = []
vec64 = []
rgb = []
rgba = []
uv = []
uvw = []
repr_simd = []
platform_intrinsics = []
std = ["num-traits/std", "serde/std"]
libm = ["num-traits/libm"]
[build-dependencies]
rustc_version = "0.4"
[dependencies]
approx = { version = "0.5.0", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
num-integer = { version = "0.1.44", default-features = false }
static_assertions = "1.1.0"
image = { version = "0.23", optional = true, default-features = false }
serde = { version = "1.0.105", optional = true, default-features = false, features = ["derive"] }
mint = { version = "0.5.4", optional = true }
bytemuck = { version = "1.7.2", optional = true }
# clippy = { version = "0.0.166", optional = true }