The first release in maintenance mode, and a security one: the apps take rustix 1.1.6 (RUSTSEC-2026-0486, reachable through the updater's tar and xattr code), the About page's data-only report links, and two weeks of dependency updates; the repository gains Qodana with its first findings fixed. Version bumps: web/package.json and its lock, src-tauri/Cargo.toml and the f2p-tracker entry in Cargo.lock, and tauri.conf.json (Android's versionCode derives from it). The first release under the changelog split: [Unreleased] becomes changelog/v4/4.7.x/4.7.2.md (sub-headings up one level, an intro first, and the "no release yet" phrases reworded), CHANGELOG.md keeps an empty [Unreleased] and gains the release's row. The GitHub release's notes are that file below its title and back link. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
2.0 KiB
TOML
56 lines
2.0 KiB
TOML
[package]
|
|
name = "f2p-tracker"
|
|
version = "2.5.2"
|
|
description = "Desktop wrapper around the Steam F2P Tracker web app"
|
|
authors = ["poli0981"]
|
|
license = "MIT"
|
|
repository = "https://github.com/poli0981/free-steam-games-list"
|
|
edition = "2021"
|
|
rust-version = "1.77"
|
|
|
|
# Library crate that both desktop main.rs and the mobile entry point in
|
|
# lib.rs link against. Tauri 2 expects the `_lib` suffix to keep the
|
|
# library crate name distinct from the binary crate name (otherwise Cargo
|
|
# refuses to emit both with the same identifier). The three crate-types
|
|
# cover desktop (rlib), iOS (staticlib), and Android (cdylib) — only rlib
|
|
# is exercised today, but lib.rs already gates a mobile_entry_point so we
|
|
# keep the door open without a second migration.
|
|
[lib]
|
|
name = "f2p_tracker_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
# https://doc.rust-lang.org/cargo/reference/profiles.html#profile-settings
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = "s"
|
|
strip = true
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
# Not used by src/ itself but by the code tauri::generate_context!() expands
|
|
# (::serde_json::Value for the plugins' configuration): without it the crate
|
|
# does not compile, whatever an unused-dependency check says.
|
|
serde_json = "1"
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-shell = "2"
|
|
|
|
# Auto-updater and single-instance plugins are desktop-only — Tauri rejects
|
|
# both at compile time on mobile, so we gate the deps behind
|
|
# cfg(not(any(target_os="ios", target_os="android"))) inside lib.rs and only
|
|
# depend on them for desktop targets here.
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
tauri-plugin-updater = "2"
|
|
tauri-plugin-single-instance = "2"
|
|
# relaunch() after an update installs. Desktop-only for the same reason: it
|
|
# exists here only to serve the updater.
|
|
tauri-plugin-process = "2"
|
|
|
|
[features]
|
|
# DO NOT REMOVE: feature flags consumed by the bundled tauri build.
|
|
default = ["custom-protocol"]
|
|
custom-protocol = ["tauri/custom-protocol"]
|