First per-feature crate split off the qbz binary. `dac_wizard.rs` (794 LOC) was the cleanest candidate: zero cross-feature module deps — it only used qbz-ui generated types (AppWindow, DacWizardState, …), qbz-audio, qbz-models and qbz-i18n. Moved verbatim into `qbz-dac-wizard/src/lib.rs` (import `crate::` -> `qbz_ui::`); the bin now `use qbz_dac_wizard as dac_wizard;` so its ~20 call sites in main.rs are unchanged. `cargo check -p qbz` green. cc
19 lines
528 B
TOML
19 lines
528 B
TOML
[package]
|
|
name = "qbz-dac-wizard"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "HiFi/DAC setup wizard controller (Slint) — extracted feature crate."
|
|
|
|
[lib]
|
|
name = "qbz_dac_wizard"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
qbz-ui = { path = "../qbz-ui" }
|
|
qbz-audio = { path = "../qbz-audio" }
|
|
qbz-models = { path = "../qbz-models" }
|
|
qbz-i18n = { path = "../qbz-i18n" }
|
|
slint = { version = "=1.16.1", default-features = false, features = ["std", "compat-1-2"] }
|