From 17cef8dcee022ca89ccef62eaec23ff6c0e4cdf9 Mon Sep 17 00:00:00 2001 From: Martin Haug Date: Tue, 2 May 2023 13:53:20 +0200 Subject: Add ICC profiles to images in PDF and update `usvg`, `svg2pdf` (#822) --- library/Cargo.toml | 6 +++--- library/src/compute/data.rs | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'library') diff --git a/library/Cargo.toml b/library/Cargo.toml index 630b4403..033058f3 100644 --- a/library/Cargo.toml +++ b/library/Cargo.toml @@ -22,12 +22,12 @@ csv = "1" ecow = "0.1" hayagriva = "0.3" hypher = "0.1" -kurbo = "0.8" +kurbo = "0.9" lipsum = "0.9" log = "0.4" once_cell = "1" -roxmltree = "0.14" -rustybuzz = "0.5" +roxmltree = "0.18" +rustybuzz = "0.7" serde_json = "1" serde_yaml = "0.8" smallvec = "1.10" diff --git a/library/src/compute/data.rs b/library/src/compute/data.rs index 14ae304b..d104cf27 100644 --- a/library/src/compute/data.rs +++ b/library/src/compute/data.rs @@ -448,7 +448,6 @@ fn convert_xml(node: roxmltree::Node) -> Value { let tag: Str = node.tag_name().name().into(); let attrs: Dict = node .attributes() - .iter() .map(|attr| (attr.name().into(), attr.value().into())) .collect(); -- cgit v1.2.3