Files
qbz/crates/qbz-text-utils/Cargo.toml
T
vicrodh 6f9ad4668e refactor(slint): extract strip_html + dates into qbz-text-utils crate
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
2026-06-25 18:13:55 -06:00

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" }