Files
wanderbooks/crates/ledger-gui/Cargo.toml
T
swaitsandClaude Fable 5.2 51a7607a82 feat: the window and the command line set up, save and show backups; the system's folder dialog
Admin requests set up the backup folder (journaled as the books' own
backup.folder setting, the owner the one who decided) and the passphrase, save
a backup as one file, and say how the backups stand; the Backups window, Save a
backup and Restore (a folder or a file, with the passphrase when it has one) use
them, and the command line has backup-setup, backup-status and backup-save
(the passphrase typed at a terminal, never on the command line).

New dependency: rfd (MIT) in ledger-gui, with pollster, for the system's own
folder and file dialogs (the portal on Linux, native on Windows and macOS). It
adds no other crate to the tree (zbus is already there through the window
toolkit); cargo deny passes and THIRD-PARTY-NOTICES.txt is regenerated.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:20:59 -07:00

62 lines
2.3 KiB
TOML

[package]
name = "ledger-gui"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
publish.workspace = true
description = "Read-only, live desktop view of wanderbooks books."
[[bin]]
name = "ledger-gui"
path = "src/main.rs"
[dependencies]
ledger-core = { path = "../ledger-core" }
ledger-store = { path = "../ledger-store" }
ledger-config = { path = "../ledger-config" }
ledger-import = { path = "../ledger-import" }
ledger-vault = { path = "../ledger-vault" }
ledger-package = { path = "../ledger-package" }
# No `default_fonts`, on eframe or on egui: egui's own font set includes
# Ubuntu Light, under the Ubuntu Font Licence, which Debian and Fedora class
# as non-free. The viewer names every font it draws with (theme.rs,
# assets/fonts/README.md), and `just deny` refuses that licence.
eframe = { version = "0.36", default-features = false, features = ["wgpu", "wayland", "x11", "persistence"] }
egui = { version = "0.36", default-features = false }
egui_extras = { version = "0.36", features = ["image", "datepicker", "serde"] }
egui-phosphor = "0.14"
# Markdown documents, drawn as text. No image loading (no `load-images`,
# no `fetch`): a document never makes the viewer read a file or the network.
egui_commonmark = { version = "0.25", default-features = false, features = ["pulldown_cmark"] }
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
notify = "8"
jiff = "0.2"
chrono = "0.4"
rust_decimal = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
zeroize = "1"
# The system's own folder and file dialogs for "Back up to..." and "Save a
# backup...": the portal on Linux, the native ones on Windows and macOS. The
# window shows nothing but what the system's dialog gives back, a path.
rfd = { version = "0.17", default-features = false, features = ["xdg-portal"] }
# The dock: a terminal emulator over a PTY (ConPTY on Windows), P11b
alacritty_terminal = "0.26"
[target.'cfg(unix)'.dependencies]
# The dock ends a dropped session's child that ignores the hang-up (dock.rs
# INVARIANT 8): a SIGKILL to the pid this crate's own PTY started.
libc = "0.2"
[dev-dependencies]
chrono = "0.4"
egui_kittest = { version = "0.36", features = ["wgpu", "snapshot", "eframe"] }
proptest = "1"
tempfile = "3"
ledger-link = { path = "../ledger-link" }
zip = "9.0.1"
[lints]
workspace = true