enable serde in glutin and winit
@@ -48,9 +48,9 @@ enable_profiler = ["rg3d-core/enable_profiler"]
enhanced-determinism = ["rapier3d/enhanced-determinism", "rapier2d/enhanced-determinism"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-glutin = "0.27.0"
+glutin = {version = "0.27.0", features = ["serde"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
-winit = { version = "0.25.0", features=["web-sys"] }
+winit = { version = "0.25.0", features = ["web-sys", "serde"] }
