fix build errors with stdsimd
[vector-math.git] / Cargo.toml
1 [package]
2 name = "vector-math"
3 version = "0.1.0"
4 authors = ["Jacob Lifshay <programmerjake@gmail.com>"]
5 edition = "2018"
6 license = "MIT OR Apache-2.0"
7
8 [dependencies]
9 half = { version = "1.7.1", optional = true }
10 typed-arena = { version = "2.0.1", optional = true }
11 core_simd = { version = "0.1.0", git = "https://github.com/rust-lang/stdsimd", optional = true }
12 vector-math-proc-macro = { version = "=0.1.0", path = "vector-math-proc-macro" }
13
14 [features]
15 default = ["fma"]
16 f16 = ["half"]
17 fma = ["std"]
18 std = []
19 ir = ["std", "typed-arena"]
20 stdsimd = [
21 "core_simd",
22 # for `f32::round` and similar
23 "std",
24 ]
25 # enable slow tests
26 full_tests = []
27
28 [workspace]
29 members = [".", "vector-math-proc-macro"]