Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/korp-map

crates/sverigekartan/Cargo.toml

[package]
name = "sverigekartan"
version = "0.1.0"
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
description = "Sverigekartan: the map of Sweden from a korp map server (https://karta.gunnar.rs) in a native window. 2D and 3D, address search, click for the nearest address. Pure Rust: egui, wgpu, rustls on graviola."
repository = "https://git.gunnar.rs/nordisk/korp-map"
homepage = "https://karta.gunnar.rs"
readme = "README.md"
keywords = ["map", "sweden", "openstreetmap", "egui", "wgpu"]
categories = ["gui", "visualization", "science::geo"]

# Self-rooting, like the other leaves under `crates/`: it takes its facett crates from
# crates.io, builds alone (`cargo build` in this directory) and is what
# `cargo install sverigekartan` builds.
[workspace]

[dependencies]
# The map: facett's feed and viewer adapters (the ones the Streamlit component runs),
# with the native transport (`native`); facett-core, -map and -map3d for the GPU setup.
facett-mapfeed = { version = "0.4.0", features = ["native"] }
facett-core = { version = "0.4.0", features = ["wgpu"] }
facett-map = { version = "0.4.0", features = ["wgpu"] }
facett-map3d = { version = "0.4.0", features = ["wgpu"] }
egui = "0.37"
egui-wgpu = { version = "0.37", default-features = false }
# The window: wgpu only (no glow/GL), X11 and Wayland.
eframe = { version = "0.37", default-features = false, features = ["default_fonts", "wgpu_no_default_features", "wayland", "x11"] }

# Wayland through dlopen (no libwayland development files at build time) and with
# client-side decorations for compositors that draw none: eframe's own defaults, which
# `default-features = false` above drops.
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "ios", target_os = "android"))))'.dependencies]
winit = { version = "0.30", default-features = false, features = ["wayland-dlopen", "wayland-csd-adwaita"] }

[dev-dependencies]
# The headless proof run (`examples/shots.rs`): the same App on the real GPU, no window.
egui_kittest = { version = "0.37", features = ["wgpu", "snapshot"] }

[profile.release]
strip = "debuginfo"