don't fail if rustfmt not found
[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
13 [build-dependencies]
14 vector-math-build-helpers = { version = "=0.1.0", path = "vector-math-build-helpers" }
15
16 [features]
17 default = ["fma"]
18 f16 = ["half"]
19 fma = ["std"]
20 std = []
21 ir = ["std", "typed-arena"]
22 stdsimd = ["core_simd", "std"] # for `f32::round` and similar
23 # enable slow tests
24 full_tests = []
25
26 [dev-dependencies]
27 rug = "1.12.0"
28 az = "1.1.1"
29
30 [workspace]
31 members = [".", "vector-math-build-helpers"]