Files
wanderbooks/crates/ledger-gui/Cargo.toml
T
swaitsandClaude Fable 5.2 13a3f1b519 feat(gui): the web half of the Connect page and the first run (P15 B3)
The Connect page gets "On the web": a switch "Allow web assistants" per company,
off by default; three lines of progress in plain words (getting an address,
getting a certificate, connected) with a spinner on the one under way; once it
works, the address for the company with Copy; the three steps for Claude on the
web that the plan stands behind (Settings, Connectors, Add custom connector,
paste, sign in and match the code); and, for ChatGPT and any other assistant,
"we haven't tested this yet" rather than steps nobody tried. What goes wrong is
in words and says whether the window and the assistants on this computer are
affected. A new address is asked for twice.

The first time a company is open and the server says no assistant was ever
connected, the Connect page opens by itself, once, remembered per installation.
The owner trait gains web_state, web_turn_on, web_turn_off and web_new_address;
an owner that does not offer them shows no switch. The tabs tests start with the
first run already done, since they are about tabs.

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

58 lines
2.0 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 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