add nova-plugin: in-process cxx-qt stats plugin replacing nova-stats subprocess

This commit is contained in:
Damocles 2026-05-02 02:24:42 +02:00
parent 40cc681e9a
commit e39d47177b
19 changed files with 1893 additions and 233 deletions

7
plugin/build.rs Normal file
View file

@ -0,0 +1,7 @@
use cxx_qt_build::{CxxQtBuilder, PluginType, QmlModule};
fn main() {
CxxQtBuilder::new_qml_module(QmlModule::new("NovaStats").plugin_type(PluginType::Dynamic))
.files(["src/system_stats.rs", "src/cpu_service.rs"])
.build();
}