switch to using `half` for f16 implementation
[vector-math.git] / Cargo.toml
index 833a28966c960bc7ce9a07cb42b7adf414d8c2a3..02c3dcd85f54fd19301f1a3af660f249b39c3f3b 100644 (file)
@@ -6,3 +6,8 @@ edition = "2018"
 license = "MIT OR Apache-2.0"
 
 [dependencies]
+half = { version = "1.7.1", optional = true }
+
+[features]
+default = ["f16"]
+f16 = ["half"]