A desktop server browser for Arma Reforger, built on the reforgermods.net v2 API. Live server list with search, sort and filters; a detail inspector with population history and mod readiness; measured ICMP latency; favorites, recents and settings; and direct joining through Steam. Tauri 2 and Rust, with a Preact frontend that builds to 80 KB of JavaScript in one chunk. Logic lives in rfm-core, which has no Tauri dependency and is tested directly; src-tauri is the window, the command surface and the wiring. Packaged for the public beta: a per-user NSIS installer, a portable .exe and an Arch package, with signature-verified background updates on Windows and a release pipeline that builds from a tag. The artifacts are not yet Authenticode-signed — that is wired and waiting on an Azure Trusted Signing identity, and docs/distribution.md says so plainly rather than letting anyone discover it at the SmartScreen dialog. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
name = "rfm-core"
|
|
description = "Core logic for the reforgermods.net launcher: API client, Steam launch URIs, local state."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
reqwest.workspace = true
|
|
tokio.workspace = true
|
|
base64.workspace = true
|
|
uuid = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
|
|
# TLS backend, chosen per target.
|
|
#
|
|
# Windows gets schannel through native-tls: no bundled C crypto library to
|
|
# build (reqwest's rustls path pulls aws-lc-sys, which needs cmake and nasm on
|
|
# Windows), a smaller binary, and the trust store the machine already manages —
|
|
# which matters behind corporate TLS inspection.
|
|
#
|
|
# Everywhere else uses reqwest's default rustls stack, so a Linux or macOS
|
|
# checkout builds without OpenSSL development headers.
|
|
[target.'cfg(windows)'.dependencies]
|
|
reqwest = { workspace = true, features = ["native-tls"] }
|
|
# Reads HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid for install identity.
|
|
winreg = "0.56.0"
|
|
# IcmpSendEcho through the IP Helper API: no elevation required.
|
|
winping = "0.10.1"
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
reqwest = { workspace = true, features = ["default-tls"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
# Unprivileged ICMP datagram sockets.
|
|
surge-ping = "0.9.1"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.53.1", features = ["macros", "rt-multi-thread", "time"] }
|