diff --git a/nalgebra-glm/Cargo.toml b/nalgebra-glm/Cargo.toml index 02708ef1..d4c4878d 100644 --- a/nalgebra-glm/Cargo.toml +++ b/nalgebra-glm/Cargo.toml @@ -12,8 +12,16 @@ categories = [ "science" ] keywords = [ "linear", "algebra", "matrix", "vector", "math" ] license = "BSD-3-Clause" +[features] +default = [ "std" ] +std = [ "nalgebra/std", "alga/std" ] +stdweb = [ "nalgebra/stdweb" ] +arbitrary = [ "nalgebra/arbitrary" ] +serde-serialize = [ "nalgebra/serde-serialize" ] +abomonation-serialize = [ "nalgebra/abomonation-serialize" ] + [dependencies] num-traits = { version = "0.2", default-features = false } approx = { version = "0.3", default-features = false } -alga = "0.7" -nalgebra = { path = "..", version = "^0.16.4" } +alga = { version = "0.7", default-features = false } +nalgebra = { path = "..", version = "^0.16.4", default-features = false }