Kigi never publishes CDN changelogs, so the entire inherited feature
was dead weight: the welcome-menu Changelog row, the hero-box info
slot (bullets + clickable CTA), /release-notes with its /changelog
alias, and the ChangelogManager CDN-fetch/disk-cache pipeline
(Effect::FetchChangelog, TaskResult::ChangelogFetched, startup and
post-login fetch kickoffs, AppView cache fields, mouse hover/click
handling). Welcome menu is now [Import] / New worktree / Resume
session / Quit; the hero box keeps title + version + subtitle and its
layout math simplifies to 3 + menu rows (verified equivalent by the
surviving boundary tests). Action::ShowReleaseNotes and the DocViewer
modal stay — /docs uses them. builtin.rs keeps deleting stale
CHANGELOG.{json,md} caches written by kigi ≤ 0.1.0.
kigi-shell-base drops its reqwest 'blocking' feature (only the deleted
module used it). -1206 lines net.
Gates: fmt clean, workspace check/clippy --all-targets 0/0, kigi-tui
lib 6609 / shell-base 56 / shell util:: 258 all passing, welcome pty
e2e (3 tests incl. braille logo) passing.
48 lines
1.5 KiB
TOML
48 lines
1.5 KiB
TOML
[package]
|
|
license = "Apache-2.0"
|
|
name = "kigi-shell-base"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "Foundation modules for the kigi shell crate family: environment presets, CPU profiling, and process/filesystem utilities."
|
|
|
|
[features]
|
|
# CI default set: builds a single shared rlib per crate, so downstream test
|
|
# targets need the test-only helper surface compiled in.
|
|
default-bazel = []
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|
|
kigi-config = { workspace = true }
|
|
kigi-env = { workspace = true }
|
|
kigi-shared = { workspace = true }
|
|
kigi-version = { workspace = true }
|
|
kigi-tty-utils = { workspace = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = { workspace = true }
|
|
nix = { workspace = true }
|
|
# No `flamegraph` feature: that pulls in inferno (CDDL-1.0), which we keep out
|
|
# of shipped binaries. stop() emits folded stacks via pprof's public Report
|
|
# API instead; render externally with speedscope or inferno-flamegraph.
|
|
pprof = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
# `cfg(test)` in this crate does not enable features on dependencies, so the
|
|
# tests' `EnvVarGuard` re-export needs the feature turned on explicitly.
|
|
kigi-env = { workspace = true, features = [] }
|
|
|
|
[lints]
|
|
workspace = true
|