mirror of
https://github.com/seemueller-io/yachtpit.git
synced 2025-09-08 22:46:45 +00:00

* Add GPS service and nautical base city data - Implement `GpsService` with methods for position updates and enabling/disabling GPS. - Introduce test data for nautical base cities with key attributes like population, coordinates, and images. - Update dependencies in `bun.lock` with required packages such as `geojson`. * give map a custom style * shift towards rust exclusivity * `build.rs` streamlines map build. Added an axum server with the map assets embedded. * update readmes * base-map api retrieves geolocation from the navigator of the browser * make map standalone wry that pulls assets from the server to simulate behavior in bevy * wip wasm * wasm build fixed * fix path ref to assets --------- Co-authored-by: geoffsee <>
38 lines
817 B
TOML
38 lines
817 B
TOML
[package]
|
|
name = "systems"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
bevy = { workspace = true, features = [
|
|
"bevy_asset",
|
|
"bevy_color",
|
|
"bevy_core_pipeline",
|
|
"bevy_render",
|
|
"bevy_sprite",
|
|
"bevy_text",
|
|
"bevy_ui",
|
|
"bevy_window",
|
|
] }
|
|
rand = { version = "0.8.3" }
|
|
components = { path = "../components" }
|
|
datalink = { path = "../datalink" }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
datalink-provider = { path = "../datalink-provider" }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen = { workspace = true }
|
|
web-sys = { version = "0.3.77", features = [
|
|
"console",
|
|
"Geolocation",
|
|
"Navigator",
|
|
"Window",
|
|
"Document",
|
|
"Element",
|
|
"Position",
|
|
"PositionOptions",
|
|
"PositionError",
|
|
"Coordinates"
|
|
] } |