aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig17
1 files changed, 9 insertions, 8 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 9d8a713..15c69e1 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,6 +1,6 @@
[package]
name = "glam"
-version = "0.25.0" # remember to update html_root_url
+version = "0.23.0" # remember to update html_root_url
edition = "2021"
authors = ["Cameron Hart <cameron.hart@gmail.com>"]
description = "A simple and fast 3D math library for games and graphics"
@@ -28,6 +28,9 @@ glam-assert = []
# this is primarily for testing the fallback implementation
scalar-math = []
+# libm is required when building no_std
+libm = ["num-traits/libm"]
+
# align types to match CUDA requirements
cuda = []
@@ -43,19 +46,17 @@ core-simd = []
[dependencies]
approx = { version = "0.5", optional = true, default-features = false }
-bytemuck = { version = "1.9", optional = true, default-features = false }
+bytemuck = { version = "1.5", optional = true, default-features = false }
mint = { version = "0.5.8", optional = true, default-features = false }
+num-traits = { version = "0.2.14", optional = true, default-features = false }
rand = { version = "0.8", optional = true, default-features = false }
-serde = { version = "1.0", optional = true, default-features = false }
-rkyv = { version = "0.7", optional = true, default-features = false }
-bytecheck = { version = "0.6", optional = true, default-features = false }
-libm = { version = "0.2", optional = true, default-features = false}
+serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] }
+rkyv = { version = "0.7", optional = true }
+bytecheck = { version = "0.6", optional = true, default-features = false}
[dev-dependencies]
# rand_xoshiro is required for tests if rand is enabled
rand_xoshiro = "0.6"
-# Set a size_xx feature so that this crate compiles properly with --all-targets --all-features
-rkyv = { version = "0.7", features = ["size_32"] }
serde_json = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]