diff options
| author | Martin Haug <mhaug@live.de> | 2023-05-02 13:53:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-02 13:53:20 +0200 |
| commit | 17cef8dcee022ca89ccef62eaec23ff6c0e4cdf9 (patch) | |
| tree | 253ea22f94ac90f0df91d6e20758ecc9d7271ce8 /library | |
| parent | 021694de239ca5d6d799dde98423036bb1da405e (diff) | |
Add ICC profiles to images in PDF and update `usvg`, `svg2pdf` (#822)
Diffstat (limited to 'library')
| -rw-r--r-- | library/Cargo.toml | 6 | ||||
| -rw-r--r-- | library/src/compute/data.rs | 1 |
2 files changed, 3 insertions, 4 deletions
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(); |
