Max Ammann de7d18103a
Update winit and wgpu (#303)
* Update winit and wgpu which both target rwh 0.6

* Upgrade to winit 0.30 to fix android crash https://github.com/bevyengine/bevy/issues/13331

* Add Carbon framework to desktop builds and improve build script to use nix if available

* Fix swift package and compilaiton with Nix

* Cleanup nix shell

* Avoid setting the size on the canvas, winit resizes now

* Handle fetch errors for web
2024-07-05 00:48:42 +02:00

10 lines
238 B
Swift

import maplibre_rs
import Metal // Required by wgpu?
import AppKit // Required by ??
import QuartzCore // Required by ??
import SystemConfiguration // Required by reqwest?
import Carbon // Required by winit
maplibre_rs.MapLibre.start()