feat: update non-ui dependencies

This commit is contained in:
Observer KRypt0n_ 2024-03-24 09:43:40 +02:00
parent 58398b03e7
commit 9395750412
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
3 changed files with 310 additions and 363 deletions

657
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,7 @@ lto = true
opt-level = "s" opt-level = "s"
[build-dependencies] [build-dependencies]
glib-build-tools = "0.18" glib-build-tools = "0.19"
[dependencies.anime-launcher-sdk] [dependencies.anime-launcher-sdk]
git = "https://github.com/an-anime-team/anime-launcher-sdk" git = "https://github.com/an-anime-team/anime-launcher-sdk"
@ -29,20 +29,20 @@ relm4 = { version = "0.7.0-beta.2", features = ["macros", "libadwaita"] }
gtk = { package = "gtk4", version = "0.7.3", features = ["v4_12"] } gtk = { package = "gtk4", version = "0.7.3", features = ["v4_12"] }
adw = { package = "libadwaita", version = "0.5.3", features = ["v1_3"] } adw = { package = "libadwaita", version = "0.5.3", features = ["v1_3"] }
rfd = { version = "0.12.1", features = ["xdg-portal"], default-features = false } rfd = { version = "0.14.1", features = ["xdg-portal", "tokio"], default-features = false }
open = "5.0.0" open = "5.0.0"
whatadistro = "0.1.0" whatadistro = "0.1.0"
serde_json = "1.0" serde_json = "1.0"
anyhow = "1.0" anyhow = "1.0"
lazy_static = "1.4.0" lazy_static = "1.4.0"
cached = { version = "0.46", features = ["proc_macro"] } cached = { version = "0.49", features = ["proc_macro"] }
md-5 = { version = "0.10", features = ["asm"] } md-5 = { version = "0.10", features = ["asm"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = "0.3" tracing-subscriber = "0.3"
fluent-templates = "0.8" fluent-templates = "0.9"
unic-langid = "0.9" unic-langid = "0.9"
human-panic = "1.2.2" human-panic = "1.2.2"

View file

@ -106,9 +106,7 @@ macro_rules! tr {
use fluent_templates::Loader; use fluent_templates::Loader;
#[allow(unused_unsafe)] #[allow(unused_unsafe)]
$crate::i18n::LOCALES $crate::i18n::LOCALES.lookup(unsafe { &$crate::i18n::LANG }, $id)
.lookup(unsafe { &$crate::i18n::LANG }, $id)
.expect(&format!("Failed to find a message with given id: {}", stringify!($id)))
} }
}; };
@ -126,9 +124,7 @@ macro_rules! tr {
)* )*
#[allow(unused_unsafe)] #[allow(unused_unsafe)]
$crate::i18n::LOCALES $crate::i18n::LOCALES.lookup_complete(unsafe { &$crate::i18n::LANG }, $id, Some(&args))
.lookup_complete(unsafe { &$crate::i18n::LANG }, $id, Some(&args))
.expect(&format!("Failed to find a message with given id: {}", stringify!($id)))
} }
}; };
} }