parent
a9cbbeea0a
commit
b004b9d815
11 changed files with 340 additions and 314 deletions
|
|
@ -10,9 +10,9 @@ license = "GPL-3.0-only"
|
|||
byte-unit = "5.1.4"
|
||||
const_format = "0.2.32"
|
||||
concat-in-place = "1.1.0"
|
||||
sysinfo = "0.30.5"
|
||||
memchr = "2.7.1"
|
||||
sysinfo = "0.30.13"
|
||||
memchr = "2.7.4"
|
||||
|
||||
[dependencies.bumpalo]
|
||||
version = "3.14.0"
|
||||
version = "3.16.0"
|
||||
features = ["collections"]
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
icu_calendar = "1.4.0"
|
||||
icu_timezone = "1.4.0"
|
||||
icu_calendar = "1.5.2"
|
||||
icu_timezone = "1.5.0"
|
||||
timedate-zbus = "0.1.0"
|
||||
|
||||
[dependencies.zbus]
|
||||
version = "3.14.1"
|
||||
version = "3.15.2"
|
||||
default-features = false
|
||||
features = ["tokio"]
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@ cosmic-bg-config = { workspace = true }
|
|||
cosmic-config = { workspace = true }
|
||||
cosmic-randr-shell = { workspace = true }
|
||||
dirs = "5.0.1"
|
||||
freedesktop-icons = "0.2.5"
|
||||
futures-lite = "2.2.0"
|
||||
freedesktop-icons = "0.2.6"
|
||||
futures-lite = "2.3.0"
|
||||
futures-util = "0.3.30"
|
||||
image = "0.25.0"
|
||||
image = "0.25.2"
|
||||
infer = "0.15.0"
|
||||
tokio = { version = "1.35.1", features = ["sync"] }
|
||||
tokio = { version = "1.39.2", features = ["sync"] }
|
||||
tracing = "0.1.40"
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ fn open_image(input_buffer: &mut Vec<u8>, path: &Path) -> Option<DynamicImage> {
|
|||
}
|
||||
|
||||
let input_cursor = std::io::Cursor::new(input_buffer);
|
||||
let mut image_decoder = image::io::Reader::new(input_cursor);
|
||||
let mut image_decoder = image::ImageReader::new(input_cursor);
|
||||
|
||||
image_decoder = if let Ok(decoder) = image_decoder.with_guessed_format() {
|
||||
decoder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue