-
Notifications
You must be signed in to change notification settings - Fork 32
/
Cargo.toml
63 lines (59 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
[package]
version = "0.17.1" # remember to update html_root_url in src/lib.rs
authors = ["Yoan Lecoq <yoanlecoq.io@gmail.com>", "Joshua Barretto <joshua.s.barretto@gmail.com>", "Sunjay Varma <varma.sunjay@gmail.com>", "timokoesters <timo@koesters.xyz>", "Imbris <imbrisf@gmail.com>", "Patiga <dev@patiga.eu>"]
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 = ["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.15", default-features = false }
num-integer = { version = "0.1.44", default-features = false }
image = { version = "0.23", optional = true, default-features = false }
serde = { version = "1.0.171", optional = true, default-features = false, features = ["derive"] }
mint = { version = "0.5.4", optional = true }
bytemuck = { version = "1.7.2", optional = true }
az = { version = "1.1", optional = true, default-features = false }