Both are pure leaves (no bin-module refs, no Slint coupling). Moved verbatim
into qbz-text-utils. Caught by adversarial review: dates.rs needs chrono's
`unstable-locales` feature (Locale + format_localized) and an inline
`qbz_i18n::current_language()` ref (no `use` line — the qbz_models::Track
trap). Bin re-exports via `pub use qbz_text_utils::{dates, strip_html};` so the
14 call sites are unchanged. `cargo check -p qbz` green.
cc
12 lines
359 B
TOML
12 lines
359 B
TOML
[package]
|
|
name = "qbz-text-utils"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Shared text/date utilities (HTML stripping, localized release dates) for the qbz frontend."
|
|
|
|
[dependencies]
|
|
chrono = { workspace = true, features = ["unstable-locales"] }
|
|
qbz-i18n = { path = "../qbz-i18n" }
|