diff options
Diffstat (limited to 'qml_plugin/src/lib.rs')
| -rw-r--r-- | qml_plugin/src/lib.rs | 12 |
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; |
