mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Cleanup deps
This commit is contained in:
570
Cargo.lock
generated
570
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -13,10 +13,9 @@ edition.workspace = true
|
|||||||
#mocking = []
|
#mocking = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
nix = "^0.26.1"
|
||||||
betrayer = { git = "https://github.com/flukejones/betrayer.git", features = [
|
tempfile = "3.3.0"
|
||||||
"winit",
|
betrayer = { version = "0.2.0", features = ["winit"] }
|
||||||
] }
|
|
||||||
|
|
||||||
asusd = { path = "../asusd" }
|
asusd = { path = "../asusd" }
|
||||||
config-traits = { path = "../config-traits" }
|
config-traits = { path = "../config-traits" }
|
||||||
@@ -43,27 +42,18 @@ notify-rust.workspace = true
|
|||||||
concat-idents.workspace = true
|
concat-idents.workspace = true
|
||||||
|
|
||||||
png_pong.workspace = true
|
png_pong.workspace = true
|
||||||
|
|
||||||
versions.workspace = true
|
versions.workspace = true
|
||||||
|
|
||||||
nix = "^0.26.1"
|
|
||||||
tempfile = "3.3.0"
|
|
||||||
|
|
||||||
i-slint-backend-selector = { git = "https://github.com/slint-ui/slint.git" }
|
|
||||||
i-slint-core = { git = "https://github.com/slint-ui/slint.git" }
|
|
||||||
i-slint-backend-winit = { git = "https://github.com/slint-ui/slint.git" }
|
|
||||||
winit = "*"
|
|
||||||
|
|
||||||
[dependencies.slint]
|
[dependencies.slint]
|
||||||
git = "https://github.com/slint-ui/slint.git"
|
git = "https://github.com/slint-ui/slint.git"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"std",
|
"std",
|
||||||
"gettext",
|
"gettext",
|
||||||
"compat-1-0",
|
"compat-1-2",
|
||||||
"backend-winit-wayland",
|
"backend-winit-wayland",
|
||||||
"backend-linuxkms",
|
"backend-linuxkms",
|
||||||
"renderer-femtovg",
|
"renderer-winit-femtovg",
|
||||||
]
|
]
|
||||||
|
|
||||||
[build-dependencies.slint-build]
|
[build-dependencies.slint-build]
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ async fn main() -> Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
thread_local! { pub static UI: std::cell::RefCell<Option<MainWindow>> = Default::default()};
|
thread_local! { pub static UI: std::cell::RefCell<Option<MainWindow>> = Default::default()};
|
||||||
i_slint_backend_selector::with_platform(|_| Ok(())).unwrap();
|
// i_slint_backend_selector::with_platform(|_| Ok(())).unwrap();
|
||||||
|
|
||||||
let mut do_once = !startup_in_background;
|
let mut do_once = !startup_in_background;
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ async fn main() -> Result<()> {
|
|||||||
sleep(Duration::from_millis(50));
|
sleep(Duration::from_millis(50));
|
||||||
|
|
||||||
let config_copy = config.clone();
|
let config_copy = config.clone();
|
||||||
i_slint_core::api::invoke_from_event_loop(move || {
|
slint::invoke_from_event_loop(move || {
|
||||||
UI.with(|ui| {
|
UI.with(|ui| {
|
||||||
let mut ui = ui.borrow_mut();
|
let mut ui = ui.borrow_mut();
|
||||||
if let Some(ui) = ui.as_mut() {
|
if let Some(ui) = ui.as_mut() {
|
||||||
@@ -193,7 +193,7 @@ async fn main() -> Result<()> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
i_slint_core::api::invoke_from_event_loop(move || {
|
slint::invoke_from_event_loop(move || {
|
||||||
UI.with(|ui| {
|
UI.with(|ui| {
|
||||||
let mut ui = ui.take();
|
let mut ui = ui.take();
|
||||||
if let Some(ui) = ui.borrow_mut() {
|
if let Some(ui) = ui.borrow_mut() {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2024-05-05 21:32+0000\n"
|
"POT-Creation-Date: 2024-05-05 22:06+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user