[librsvg: 1/30] Update gtk-rs crates to 0.14.0
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/30] Update gtk-rs crates to 0.14.0
- Date: Wed, 23 Jun 2021 23:05:39 +0000 (UTC)
commit b17b497b516b6a282d462f7f81cc9f5a24d5a68d
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Tue May 4 12:33:50 2021 +0200
Update gtk-rs crates to 0.14.0
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/516>
Cargo.lock | 194 ++++++++++++++-----------------------------------------------
Cargo.toml | 27 ++++-----
2 files changed, 53 insertions(+), 168 deletions(-)
---
diff --git a/Cargo.lock b/Cargo.lock
index d7ed4cd9..d4012187 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -141,28 +141,26 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "cairo-rs"
-version = "0.9.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5c0f2e047e8ca53d0ff249c54ae047931d7a6ebe05d00af73e0ffeb6e34bdb8"
+checksum = "8d32eecb1e806433cf68063c4548bbdc15cc56d35db19d685ab60909c4c85206"
dependencies = [
"bitflags",
"cairo-sys-rs",
"glib",
- "glib-sys",
- "gobject-sys",
"libc",
"thiserror",
]
[[package]]
name = "cairo-sys-rs"
-version = "0.10.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ed2639b9ad5f1d6efa76de95558e11339e7318426d84ac4890b86c03e828ca7"
+checksum = "d7c9c3928781e8a017ece15eace05230f04b647457d170d2d9641c94a444ff80"
dependencies = [
"glib-sys",
"libc",
- "system-deps 1.3.2",
+ "system-deps",
]
[[package]]
@@ -554,21 +552,6 @@ dependencies = [
"new_debug_unreachable",
]
-[[package]]
-name = "futures"
-version = "0.3.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e7e43a803dae2fa37c1f6a8fe121e1f7bf9548b4dfc0522a42f34145dadfc27"
-dependencies = [
- "futures-channel",
- "futures-core",
- "futures-executor",
- "futures-io",
- "futures-sink",
- "futures-task",
- "futures-util",
-]
-
[[package]]
name = "futures-channel"
version = "0.3.15"
@@ -576,7 +559,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e682a68b29a882df0545c143dc3646daefe80ba479bcdede94d5a703de2871e2"
dependencies = [
"futures-core",
- "futures-sink",
]
[[package]]
@@ -602,25 +584,6 @@ version = "0.3.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "acc499defb3b348f8d8f3f66415835a9131856ff7714bf10dadfc4ec4bdb29a1"
-[[package]]
-name = "futures-macro"
-version = "0.3.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4c40298486cdf52cc00cd6d6987892ba502c7656a16a4192a9992b1ccedd121"
-dependencies = [
- "autocfg",
- "proc-macro-hack",
- "proc-macro2 1.0.27",
- "quote 1.0.9",
- "syn 1.0.73",
-]
-
-[[package]]
-name = "futures-sink"
-version = "0.3.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a57bead0ceff0d6dde8f465ecd96c9338121bb7717d3e7b108059531870c4282"
-
[[package]]
name = "futures-task"
version = "0.3.15"
@@ -634,17 +597,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "feb5c238d27e2bf94ffdfd27b2c29e3df4a68c4193bb6427384259e2bf191967"
dependencies = [
"autocfg",
- "futures-channel",
"futures-core",
- "futures-io",
- "futures-macro",
- "futures-sink",
"futures-task",
- "memchr",
"pin-project-lite",
"pin-utils",
- "proc-macro-hack",
- "proc-macro-nested",
"slab",
]
@@ -659,30 +615,27 @@ dependencies = [
[[package]]
name = "gdk-pixbuf"
-version = "0.9.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f6dae3cb99dd49b758b88f0132f8d401108e63ae8edd45f432d42cdff99998a"
+checksum = "534192cb8f01daeb8fab2c8d4baa8f9aae5b7a39130525779f5c2608e235b10f"
dependencies = [
"gdk-pixbuf-sys",
"gio",
- "gio-sys",
"glib",
- "glib-sys",
- "gobject-sys",
"libc",
]
[[package]]
name = "gdk-pixbuf-sys"
-version = "0.10.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3bfe468a7f43e97b8d193a762b6c5cf67a7d36cacbc0b9291dbcae24bfea1e8f"
+checksum = "f097c0704201fbc8f69c1762dc58c6947c8bb188b8ed0bc7e65259f1894fe590"
dependencies = [
"gio-sys",
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 1.3.2",
+ "system-deps",
]
[[package]]
@@ -709,20 +662,16 @@ dependencies = [
[[package]]
name = "gio"
-version = "0.9.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fb60242bfff700772dae5d9e3a1f7aa2e4ebccf18b89662a16acb2822568561"
+checksum = "86c6823b39d46d22cac2466de261f28d7f049ebc18f7b35296a42c7ed8a88325"
dependencies = [
"bitflags",
- "futures",
"futures-channel",
"futures-core",
"futures-io",
- "futures-util",
"gio-sys",
"glib",
- "glib-sys",
- "gobject-sys",
"libc",
"once_cell",
"thiserror",
@@ -730,45 +679,44 @@ dependencies = [
[[package]]
name = "gio-sys"
-version = "0.10.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e24fb752f8f5d2cf6bbc2c606fd2bc989c81c5e2fe321ab974d54f8b6344eac"
+checksum = "c0a41df66e57fcc287c4bcf74fc26b884f31901ea9792ec75607289b456f48fa"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 1.3.2",
+ "system-deps",
"winapi",
]
[[package]]
name = "glib"
-version = "0.10.3"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c685013b7515e668f1b57a165b009d4d28cb139a8a989bbd699c10dad29d0c5"
+checksum = "f0028bbfd270d0778540294abca11141d59cb474da4c1f61ca1e11f579c49247"
dependencies = [
"bitflags",
"futures-channel",
"futures-core",
"futures-executor",
"futures-task",
- "futures-util",
"glib-macros",
"glib-sys",
"gobject-sys",
"libc",
"once_cell",
+ "smallvec",
]
[[package]]
name = "glib-macros"
-version = "0.10.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41486a26d1366a8032b160b59065a59fb528530a46a49f627e7048fb8c064039"
+checksum = "9eb7bdf41972a6f6dab5d72c23d22789f400059a43ba0d72b4bb2f8664d946a9"
dependencies = [
"anyhow",
"heck",
- "itertools 0.9.0",
"proc-macro-crate",
"proc-macro-error",
"proc-macro2 1.0.27",
@@ -778,12 +726,12 @@ dependencies = [
[[package]]
name = "glib-sys"
-version = "0.10.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7e9b997a66e9a23d073f2b1abb4dbfc3925e0b8952f67efd8d9b6e168e4cdc1"
+checksum = "1c1d60554a212445e2a858e42a0e48cece1bd57b311a19a9468f70376cf554ae"
dependencies = [
"libc",
- "system-deps 1.3.2",
+ "system-deps",
]
[[package]]
@@ -794,13 +742,13 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "gobject-sys"
-version = "0.10.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "952133b60c318a62bf82ee75b93acc7e84028a093e06b9e27981c2b6fe68218c"
+checksum = "aa92cae29759dae34ab5921d73fff5ad54b3d794ab842c117e36cafc7994c3f5"
dependencies = [
"glib-sys",
"libc",
- "system-deps 1.3.2",
+ "system-deps",
]
[[package]]
@@ -895,7 +843,6 @@ version = "2.51.3"
dependencies = [
"assert_cmd",
"cairo-rs",
- "cairo-sys-rs",
"cast",
"chrono",
"clap",
@@ -905,12 +852,8 @@ dependencies = [
"encoding",
"float-cmp",
"gdk-pixbuf",
- "gdk-pixbuf-sys",
"gio",
- "gio-sys",
"glib",
- "glib-sys",
- "gobject-sys",
"itertools 0.9.0",
"language-tags",
"libc",
@@ -922,7 +865,6 @@ dependencies = [
"num-traits",
"once_cell",
"pango",
- "pango-sys",
"pangocairo",
"png",
"predicates",
@@ -933,7 +875,7 @@ dependencies = [
"rgb",
"selectors",
"string_cache",
- "system-deps 3.1.1",
+ "system-deps",
"tempfile",
"test-generator",
"tinyvec",
@@ -1209,14 +1151,12 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
[[package]]
name = "pango"
-version = "0.9.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9937068580bebd8ced19975938573803273ccbcbd598c58d4906efd4ac87c438"
+checksum = "415823a4fb9f1789785cd6e2d2413816f2ecff92380382969aaca9c400e13a19"
dependencies = [
"bitflags",
"glib",
- "glib-sys",
- "gobject-sys",
"libc",
"once_cell",
"pango-sys",
@@ -1224,45 +1164,41 @@ dependencies = [
[[package]]
name = "pango-sys"
-version = "0.10.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24d2650c8b62d116c020abd0cea26a4ed96526afda89b1c4ea567131fdefc890"
+checksum = "2367099ca5e761546ba1d501955079f097caa186bb53ce0f718dca99ac1942fe"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 1.3.2",
+ "system-deps",
]
[[package]]
name = "pangocairo"
-version = "0.10.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00f5ae67a05a5e023f09f64e9a71c845274d4b82dedee237b70425811885e883"
+checksum = "f03ac1e8d456f8f436168aeac41201f0bf49d1dc6c8d01bfb04de2cca25df631"
dependencies = [
"bitflags",
"cairo-rs",
- "cairo-sys-rs",
"glib",
- "glib-sys",
- "gobject-sys",
"libc",
"pango",
- "pango-sys",
"pangocairo-sys",
]
[[package]]
name = "pangocairo-sys"
-version = "0.11.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94ccc97f698c2f0233b84e5ca676893a1e676785b60eec700b9c0e6dcd0feb98"
+checksum = "f3b9b679ad5c8503e3e533ce06e1619d033274b246e977a6fa1655a6c6ef2b51"
dependencies = [
"cairo-sys-rs",
"glib-sys",
"libc",
"pango-sys",
- "system-deps 1.3.2",
+ "system-deps",
]
[[package]]
@@ -1447,10 +1383,11 @@ dependencies = [
[[package]]
name = "proc-macro-crate"
-version = "0.1.5"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
+checksum = "41fdbd1df62156fbc5945f4762632564d7d038153091c3fcf1067f6aef7cff92"
dependencies = [
+ "thiserror",
"toml",
]
@@ -1484,12 +1421,6 @@ version = "0.5.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
-[[package]]
-name = "proc-macro-nested"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
-
[[package]]
name = "proc-macro2"
version = "0.4.30"
@@ -2022,30 +1953,12 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
-[[package]]
-name = "strum"
-version = "0.18.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57bd81eb48f4c437cadc685403cad539345bf703d78e63707418431cecd4522b"
-
[[package]]
name = "strum"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7318c509b5ba57f18533982607f24070a55d353e90d4cae30c467cdb2ad5ac5c"
-[[package]]
-name = "strum_macros"
-version = "0.18.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c"
-dependencies = [
- "heck",
- "proc-macro2 1.0.27",
- "quote 1.0.9",
- "syn 1.0.73",
-]
-
[[package]]
name = "strum_macros"
version = "0.20.1"
@@ -2080,21 +1993,6 @@ dependencies = [
"unicode-xid 0.2.2",
]
-[[package]]
-name = "system-deps"
-version = "1.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f3ecc17269a19353b3558b313bba738b25d82993e30d62a18406a24aba4649b"
-dependencies = [
- "heck",
- "pkg-config",
- "strum 0.18.0",
- "strum_macros 0.18.0",
- "thiserror",
- "toml",
- "version-compare 0.0.10",
-]
-
[[package]]
name = "system-deps"
version = "3.1.1"
@@ -2106,11 +2004,11 @@ dependencies = [
"heck",
"itertools 0.10.1",
"pkg-config",
- "strum 0.20.0",
- "strum_macros 0.20.1",
+ "strum",
+ "strum_macros",
"thiserror",
"toml",
- "version-compare 0.0.11",
+ "version-compare",
]
[[package]]
@@ -2351,12 +2249,6 @@ version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
-[[package]]
-name = "version-compare"
-version = "0.0.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d63556a25bae6ea31b52e640d7c41d1ab27faba4ccb600013837a3d0b3994ca1"
-
[[package]]
name = "version-compare"
version = "0.0.11"
diff --git a/Cargo.toml b/Cargo.toml
index b9eabbc9..e74794ef 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,8 +35,7 @@ crate-type = [ "staticlib", "rlib" ]
[dependencies]
# Keep these in sync with respect to the cairo-rs version:
# src/lib.rs - toplevel example in the docs
-cairo-rs = { version="0.9.1", features=["v1_16", "png", "pdf", "ps", "svg"] }
-cairo-sys-rs = "0.10.0"
+cairo-rs = { version="0.14.0", features=["v1_16", "png", "pdf", "ps", "svg"] }
cast = "0.2.3"
chrono = "0.4.0" # rsvg-convert
clap = "~2.33.0" # rsvg-convert
@@ -44,13 +43,9 @@ cssparser = "0.27.1"
data-url = "0.1"
encoding = "0.2.33"
float-cmp = "0.8.0"
-gdk-pixbuf = "0.9.0"
-gdk-pixbuf-sys = "0.10.0"
-gio = { version="0.9.1", features=["v2_50"] } # per configure.ac
-gio-sys = "0.10.1"
-glib = "0.10.3"
-glib-sys = { version="0.10.1", features=["v2_50"] }
-gobject-sys = "0.10.0"
+gdk-pixbuf = "0.14.0"
+gio = { version="0.14.0", features = ["v2_50"] } # per configure.ac
+glib = { version="0.14.0", features = ["v2_50"] }
itertools = "0.9.0"
language-tags = "0.3.1"
libc = "0.2"
@@ -59,9 +54,8 @@ markup5ever = "0.10"
nalgebra = "0.27.1"
num-traits = "0.2"
once_cell = "1.2.0"
-pango = { version="0.9.1", features=["v1_44"] }
-pango-sys = "0.10.0"
-pangocairo = "0.10.0"
+pango = { version="0.14.0", features = ["v1_44"] }
+pangocairo = "0.14.0"
rayon = "1"
rctree = "0.3.3"
regex = "1"
@@ -74,17 +68,16 @@ xml5ever = "0.16.1"
[dev-dependencies]
assert_cmd = "1.0.1"
-cairo-rs = { version = "0.9.1", features = ["png"] }
+cairo-rs = { version="0.14.0", features = ["png"] }
cast = "0.2.3"
chrono = "0.4.0"
criterion = "0.3"
-glib = "0.10.3"
+glib = "0.14.0"
libc = "0.2"
lopdf = "0.26.0"
matches = "0.1"
-pango = "0.9.1"
-pango-sys = "0.10.0"
-pangocairo = "0.10.0"
+pango = "0.14.0"
+pangocairo = "0.14.0"
png = "0.16.1"
predicates = "1.0.2"
proptest = "0.10.1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]