Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (91 loc) · 3.74 KB
/
Copy pathCargo.toml
File metadata and controls
98 lines (91 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[workspace]
members = [
"apps/globecraft",
"crates/globecraft-core",
"crates/globecraft-data",
"crates/globecraft-render",
"crates/globecraft-assistant",
]
default-members = ["apps/globecraft"]
# The fuzz targets are their own workspace (nightly-only dependencies); see fuzz/README.md.
exclude = ["fuzz"]
resolver = "3"
[workspace.package]
version = "0.4.0"
edition = "2024"
rust-version = "1.95"
license = "MIT"
[workspace.dependencies]
globecraft-core = { path = "crates/globecraft-core" }
# Without its default features; the app turns the updater on (feature `updater`).
globecraft-data = { path = "crates/globecraft-data", default-features = false }
globecraft-render = { path = "crates/globecraft-render", default-features = false }
globecraft-assistant = { path = "crates/globecraft-assistant" }
eframe = "0.36.2"
# Building roofs with courtyards (roadmap 8.6): Mapbox's earcut, ported by georust.
earcut = "0.4.12"
# Native desktop menu adapters; keep GUI/platform dependencies out of the libraries.
muda = { version = "0.21.2", default-features = false }
rfd = { version = "0.17.2", default-features = false }
raw-window-handle = "0.6.2"
emath = "0.36.2"
egui-wgpu = "0.36.2"
egui_kittest = { version = "0.36.2", features = ["wgpu", "eframe", "snapshot"] }
sys-locale = "0.3.2"
self_update = { version = "1.3.0", default-features = false, features = ["github", "reqwest", "rustls", "async", "checksums", "archive-zip", "compression-zip-deflate", "archive-tar", "compression-tar-gz", "signatures"] }
semver = "1.0"
mgrs-convert = "0.1.0"
sofars = "0.6.1"
png = "0.18.1"
ab_glyph = "0.2.32"
gilrs = "0.11.2"
fontdb = { version = "0.24.0", default-features = false, features = ["std", "fs", "fontconfig"] }
geographiclib-rs = { version = "0.2.7", default-features = false }
glam = { version = "0.34.1", default-features = false, features = ["std", "f64"] }
bytemuck = { version = "1.25.2", features = ["derive"] }
wgpu = "30.0.1"
pollster = "1.0.1"
wide = "1.7.1"
moka = { version = "0.12.16", default-features = false, features = ["sync"] }
thiserror = "2.0.21"
fluent-bundle = "0.16.0"
fluent-syntax = "0.12.0"
unic-langid = "0.9.6"
unicode-normalization = "0.1.25"
quick-xml = "0.42.0"
kml = { version = "0.14.0", default-features = false }
# Reads KMZ imports (bounded) and writes KMZ exports; kml decodes the extracted text.
# The version self_update uses, so one zip is built.
zip = { version = "8.6.0", default-features = false, features = ["deflate"] }
rayon = "1.12.0"
rstar = "0.13.0"
geo-index = "0.4.0"
tokio = { version = "1.53.3", features = ["rt-multi-thread", "net", "time", "sync", "fs", "io-util", "macros"] }
reqwest = { version = "0.13.5", default-features = false, features = ["rustls", "json", "gzip", "query", "form"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
rusqlite = { version = "0.40.2", features = ["bundled"] }
tokio-rusqlite = "0.8.0"
fst = "0.4.7"
flate2 = "1.1.10"
chrono = { version = "0.4", default-features = false, features = ["std"] }
chrono-tz = "0.10"
sgp4 = { version = "2.4.0", default-features = false, features = ["std", "serde"] }
image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp"] }
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
all = "warn"
# Light optimisation for the workspace keeps rebuilds quick; dependencies, built once,
# are fully optimised so debug runs and tests stay fast. Run the app with --release.
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
# Thin LTO keeps local release builds quick; the release workflow switches to fat
# LTO with one codegen unit for published binaries. Panics keep unwinding, since the
# assistant and background tasks catch them.
[profile.release]
opt-level = 3
lto = "thin"
strip = true