plugin: rust-side modules + theme services with serde-typed config

This commit is contained in:
Damocles 2026-05-04 22:58:12 +02:00
parent a86e90e927
commit f34f3f2f4e
95 changed files with 2477 additions and 1011 deletions

View file

@ -27,7 +27,12 @@ fn main() {
// build a dummy crate that only compiles dependencies. Skip cxx-qt codegen in
// that case - we just want cxx-qt-lib (the heavy dep) cached, not our own glue.
let manifest = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));
let bridge_files = ["src/system_stats.rs", "src/cpu_service.rs"];
let bridge_files = [
"src/system_stats.rs",
"src/cpu_service.rs",
"src/modules_service.rs",
"src/theme_service.rs",
];
if !bridge_files.iter().all(|p| manifest.join(p).exists()) {
return;
}