Replaces the Vue/Tauri front end with a rune app that speaks the daemon's existing IPC protocol: settings (general, recording, audio), match history and game review with a scrubber, event markers and ffmpeg highlight export. Includes tray icon, launch at login, single instance, toasts, a headless snapshot path for checking screens, and a cargo-packager NSIS config. Rune is pinned to 4ddf696b0f and its three patched crates are vendored under app/vendor, since a dependency's [patch.crates-io] does not apply to the app. The daemon's OBS bootstrap never reached its IPC server on this machine, so the live check is a `--probe` command; the wire format is covered by tests.
38 lines
1.3 KiB
TOML
38 lines
1.3 KiB
TOML
[package]
|
|
name = "leaguerecorder"
|
|
version = "0.3.0"
|
|
edition = "2024"
|
|
description = "Native League Recorder desktop app (rune)"
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "leaguerecorder"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
rune = { git = "https://github.com/anomalyco/rune", rev = "4ddf696b0f13ec618fdeb80b4c9ea1a6246547f1" }
|
|
rune-kit = { git = "https://github.com/anomalyco/rune", rev = "4ddf696b0f13ec618fdeb80b4c9ea1a6246547f1" }
|
|
rune-notify = { git = "https://github.com/anomalyco/rune", rev = "4ddf696b0f13ec618fdeb80b4c9ea1a6246547f1" }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
directories = "6"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std", "serde"] }
|
|
tokio = { version = "1", features = ["rt", "net", "io-util", "time", "sync"] }
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
ffmpeg-sidecar = "2.7"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winreg = "0.56"
|
|
|
|
# Rune is patched in the workspace that builds it. A dependency's `[patch]` doesn't apply to
|
|
# the app that depends on it, so these three copies (from rune's own vendor/) are repeated here.
|
|
[patch.crates-io]
|
|
wgpu-hal = { path = "vendor/wgpu-hal" }
|
|
winit = { path = "vendor/winit" }
|
|
parley_engine = { path = "vendor/parley_engine" }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
strip = true
|