summaryrefslogtreecommitdiff
path: root/qml_plugin/src/lib.rs
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-07-26 18:16:25 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-07-26 18:16:25 +0800
commitc119b2cf8eb2fe2cb2b204e870deb7c6dfb189ee (patch)
tree82be34f895614eafd89f4b8cce3e5e1dd08439b3 /qml_plugin/src/lib.rs
parent7bc4e6df35894a18aec7695375bc7c47e78ba8cb (diff)
init: qml_plugin
new(plugin): date
Diffstat (limited to 'qml_plugin/src/lib.rs')
-rw-r--r--qml_plugin/src/lib.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/qml_plugin/src/lib.rs b/qml_plugin/src/lib.rs
new file mode 100644
index 0000000..12d0684
--- /dev/null
+++ b/qml_plugin/src/lib.rs
@@ -0,0 +1,12 @@
+use std::sync::LazyLock;
+
+static RUNTIME: LazyLock<tokio::runtime::Runtime> = LazyLock::new(
+ || {
+ tokio::runtime::Builder::new_multi_thread()
+ .enable_all()
+ .build()
+ .unwrap()
+ },
+);
+
+mod launcher;