tokio instrument

This commit is contained in:
Luke D. Jones
2024-05-18 11:21:33 +12:00
parent ad1ef9b8a2
commit 219bd559b6
4 changed files with 488 additions and 9 deletions

View File

@@ -13,7 +13,12 @@ default = []
mocking = []
x11 = ["slint/backend-winit-x11"]
[build]
rustflags = ["--cfg", "tokio_unstable"]
[dependencies]
console-subscriber = "0.2.0"
nix = { version = "^0.28.0", features = ["fs"] }
tempfile = "3.3.0"
betrayer = { version = "0.2.0" }

View File

@@ -25,6 +25,8 @@ use tokio::runtime::Runtime;
#[tokio::main]
async fn main() -> Result<()> {
console_subscriber::init();
let self_version = env!("CARGO_PKG_VERSION");
let conn = zbus::blocking::Connection::system()?;
let proxy = rog_dbus::zbus_platform::PlatformProxyBlocking::new(&conn)?;

View File

@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-05-17 10:14+0000\n"
"POT-Creation-Date: 2024-05-17 10:31+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"