stahl/Cargo.toml
Markus Zoppelt ddd55f7943 Rewrite as a native GPUI app on portfolio_rs 0.10
Replace Tauri, React, and the web view with a single Rust crate on GPUI (through
gpui-kit, which adds the inputs, editor, charts, and palette GPUI lacks), and
redesign around what a native app and portfolio_rs 0.10 make possible.

New: value-over-time charts and time-weighted return from daily snapshots,
compatible with `portfolio_rs snapshot`; a sortable, searchable Holdings table
with a detail pane; targets on the Allocation page; a screen naming the line and
column of a positions file that does not parse, instead of showing it as empty;
data-quality findings and price freshness; a command palette; hide-amounts mode;
drag and drop; native menus; unsaved-changes tracking with a prompt on quit; and
Copy as Markdown.

Pages are regrouped from twelve into Portfolio, Plan, and Insights. Workspace
and Validate merge into Data Health, with creating a workspace moved to Settings,
where it is reachable: the old page was only shown once a workspace was open.

The flake drops the frontend toolchain and pins Rust through rust-toolchain.toml,
since GPUI needs 1.98 and nixpkgs has 1.95. tests/e2e.rs drives the real UI
headlessly, on the main thread GPUI requires.
2026-11-05 22:47:46 +01:00

41 lines
1.1 KiB
TOML

[package]
name = "stahl"
version = "0.2.0"
description = "Stahl Capital — native desktop app for portfolio_rs"
authors = ["Markus Zoppelt"]
license = "MIT"
repository = "https://github.com/MarkusZoppelt/stahl"
edition = "2024"
rust-version = "1.98"
[package.metadata.bundle]
name = "Stahl Capital"
identifier = "net.zoppelt.stahl"
icon = ["assets/icons/32x32.png", "assets/icons/128x128.png", "assets/icons/128x128@2x.png", "assets/icons/icon.icns"]
category = "public.app-category.finance"
short_description = "Your local-first portfolio, on your own machine."
osx_minimum_system_version = "11.0"
[dependencies]
chrono = "0.4"
gpui-kit = "0.9"
portfolio_rs = "0.10"
rust-embed = "8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "sync"] }
[dev-dependencies]
gpui-kit = { version = "0.9", features = ["test-support"] }
tempfile = "3"
# GPUI's macOS platform must own the process's main thread, which the default
# test harness keeps for itself.
[[test]]
name = "e2e"
harness = false
[profile.release]
lto = true
codegen-units = 1
strip = true