Bump dependencies

This commit is contained in:
Laurenz 2023-11-27 17:16:42 +01:00
parent 713cde1136
commit 3b9acf5563
3 changed files with 261 additions and 199 deletions

444
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -47,11 +47,11 @@ hayagriva = "0.5"
heck = "0.4" heck = "0.4"
hypher = "0.1.4" hypher = "0.1.4"
iai = { git = "https://github.com/typst/iai", rev = "3f0f927" } iai = { git = "https://github.com/typst/iai", rev = "3f0f927" }
icu_properties = { version = "1.3", features = ["serde"] } icu_properties = { version = "1.4", features = ["serde"] }
icu_provider = { version = "1.3", features = ["sync"] } icu_provider = { version = "1.4", features = ["sync"] }
icu_provider_adapters = "1.3" icu_provider_adapters = "1.4"
icu_provider_blob = "1.3" icu_provider_blob = "1.4"
icu_segmenter = { version = "1.3", features = ["serde"] } icu_segmenter = { version = "1.4", features = ["serde"] }
if_chain = "1" if_chain = "1"
image = { version = "0.24", default-features = false, features = ["png", "jpeg", "gif"] } image = { version = "0.24", default-features = false, features = ["png", "jpeg", "gif"] }
include_dir = "0.7" include_dir = "0.7"
@ -65,7 +65,7 @@ miniz_oxide = "0.7"
notify = "6" notify = "6"
once_cell = "1" once_cell = "1"
open = "5.0.1" open = "5.0.1"
oxipng = { git = "https://github.com/typst/oxipng", rev = "b8ec65b", default-features = false, features = ["filetime", "parallel", "zopfli"] } oxipng = { version = "9.0", default-features = false, features = ["filetime", "parallel", "zopfli"] }
palette = { version = "0.7.3", default-features = false, features = ["approx", "libm"] } palette = { version = "0.7.3", default-features = false, features = ["approx", "libm"] }
pathdiff = "0.2" pathdiff = "0.2"
pdf-writer = "0.9.2" pdf-writer = "0.9.2"
@ -104,7 +104,7 @@ tracing-flame = "0.2.0"
tracing-subscriber = "0.3.17" tracing-subscriber = "0.3.17"
ttf-parser = "0.19.2" ttf-parser = "0.19.2"
typed-arena = "2" typed-arena = "2"
unicode_names2 = "0.6.0" unicode_names2 = "1.2"
unicode-bidi = "0.3.13" unicode-bidi = "0.3.13"
unicode-ident = "1.0" unicode-ident = "1.0"
unicode-math-class = "0.1" unicode-math-class = "0.1"

View File

@ -500,7 +500,7 @@ fn get_flag_metadata(line: &str, key: &str) -> Option<bool> {
fn update_image(png_path: &Path, ref_path: &Path) { fn update_image(png_path: &Path, ref_path: &Path) {
oxipng::optimize( oxipng::optimize(
&InFile::Path(png_path.to_owned()), &InFile::Path(png_path.to_owned()),
&OutFile::Path(Some(ref_path.to_owned())), &OutFile::from_path(ref_path.to_owned()),
&Options::max_compression(), &Options::max_compression(),
) )
.unwrap(); .unwrap();