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

22
plugin/Cargo.toml Normal file
View file

@ -0,0 +1,22 @@
[package]
name = "nova-plugin"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
[dependencies]
cxx = "1.0"
cxx-qt = "0.8.1"
cxx-qt-lib = { version = "0.8.1", features = ["qt_full"] }
libc = "0.2"
[build-dependencies]
cxx-qt-build = "0.8.1"