Files
RedBear-OS/local
vasilito 2eae0d32f8 cub: collapse cub-cli + cub-tui + cub-lib into single cub crate (v6.0 2026)
There is one cub, not three. The CLI, TUI, and library used to be
three separate workspace crates with awkward paths and three
independent installable artifacts. After the rewrite:

- single Cargo workspace at local/recipes/system/cub/source/cub/
  with [lib] name = "cub" and [[bin]] name = "cub" in one
  Cargo.toml
- 21 source files moved into cub/src/ (lib modules + main.rs +
  tui/{app,mod,theme,widgets,views/{mod,build,home,info,install,
  query,search}}.rs)
- 13 dead crate Cargo.toml / Cargo.lock / old lib.rs files removed
- cub-assessment + cubl + cub system recipe point at the new
  package name
- workspace manifest collapsed to { members = ["cub"], version =
  "0.2.3" } to match the active Red Bear OS branch

The TUI surface is preserved (ratatui 0.30 + termion 4.0.6,
single binary, -i flag) and the public lib API is unchanged
(cub::aur, cub::pkgbuild, cub::version, etc. all re-exported from
the new lib.rs).

Verified: cargo build --workspace passes with all four feature
combos (default, no-default-features, --features full, --features
tui); cub-assessment compiles against cub v0.2.3; cub --version
prints cub 0.2.3; cub --help lists 21 subcommands.
2026-06-11 09:15:57 +03:00
..
2026-06-10 11:23:09 +03:00