fix build errors with stdsimd
[vector-math.git] / Cargo.toml
index 5f82460a1e0c49ffa8d95b64b8d795ac0eec75e5..bd3fbffade2f78bb18ac1a3b3dda109de5b89c45 100644 (file)
@@ -9,11 +9,21 @@ license = "MIT OR Apache-2.0"
 half = { version = "1.7.1", optional = true }
 typed-arena = { version = "2.0.1", optional = true }
 core_simd = { version = "0.1.0", git = "https://github.com/rust-lang/stdsimd", optional = true }
+vector-math-proc-macro = { version = "=0.1.0", path = "vector-math-proc-macro" }
 
 [features]
-default = ["f16", "fma"]
+default = ["fma"]
 f16 = ["half"]
 fma = ["std"]
 std = []
 ir = ["std", "typed-arena"]
-stdsimd = ["core_simd"]
+stdsimd = [
+    "core_simd",
+    # for `f32::round` and similar
+    "std",
+]
+# enable slow tests
+full_tests = []
+
+[workspace]
+members = [".", "vector-math-proc-macro"]