Add impl-glam feature

This commit is contained in:
Joel Nordström
2020-10-19 18:35:56 +02:00
parent 05a3862e30
commit 3ffe6106ec
4 changed files with 98 additions and 0 deletions

View File

@ -22,12 +22,14 @@ maintenance = { status = "actively-developed" }
[features]
default = ["std"]
impl-cgmath = ["cgmath"]
impl-glam = ["glam"]
impl-nalgebra = ["nalgebra", "num-traits", "simba"]
serialization = ["serde", "serde_derive"]
std = []
[dependencies]
cgmath = { version = "0.17", optional = true }
glam = { version = "0.9", optional = true }
nalgebra = { version = ">=0.21, <0.23", optional = true }
num-traits = { version = "0.2", optional = true }
serde = { version = "1", optional = true }