From 2c57199697c168ce3e79110804dd1008b5768ac8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 10 Nov 2024 07:41:50 +0000 Subject: [PATCH] fix(deps): update rust crate thiserror to v1.0.69 --- Cargo.lock | 49 +++++++++++++++++++++++++++++--------------- docx-core/Cargo.toml | 7 +++---- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ff61bcd90..eb1d2dd5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -123,7 +123,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd8ce37ad4184ab2ce004c33bf6379185d3b1c95801cab51026bd271bf68eedc" dependencies = [ "quote", - "syn", + "syn 1.0.76", ] [[package]] @@ -143,7 +143,7 @@ checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499" [[package]] name = "docx-rs" -version = "0.4.18-rc19" +version = "0.4.17" dependencies = [ "base64", "image", @@ -349,18 +349,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.29" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d" +checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] name = "quote" -version = "1.0.2" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -388,7 +388,7 @@ checksum = "9391c295d64fc0abb2c556bad848f33cb8296276b1ad2677d1ae1ace4f258f31" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.76", ] [[package]] @@ -431,6 +431,17 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "syn" +version = "2.0.87" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "termcolor" version = "1.1.2" @@ -452,22 +463,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.5" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9fb62ff737e573b1e677459bea6fd023cd5d6e868c3242d3cdf3ef2f0554824" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.5" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24069c0ba08aab54289d6a25f5036d94afc61e1538bbc42ae5501df141c9027d" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.87", ] [[package]] @@ -500,10 +511,16 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn", + "syn 1.0.76", "termcolor", ] +[[package]] +name = "unicode-ident" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" + [[package]] name = "unicode-xid" version = "0.2.0" @@ -531,7 +548,7 @@ dependencies = [ "log", "proc-macro2", "quote", - "syn", + "syn 1.0.76", "wasm-bindgen-shared", ] @@ -553,7 +570,7 @@ checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.76", "wasm-bindgen-backend", "wasm-bindgen-shared", ] diff --git a/docx-core/Cargo.toml b/docx-core/Cargo.toml index 00849a9fe..564e94c48 100644 --- a/docx-core/Cargo.toml +++ b/docx-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "docx-rs" -version = "0.4.18-rc19" +version = "0.4.17" authors = ["bokuweb "] repository = "https://github.com/bokuweb/docx-rs" edition = "2018" @@ -18,8 +18,7 @@ name = "docx_rs" path = "src/lib.rs" [features] -default = ["image"] -wasm = ["wasm-bindgen", "ts-rs", "image"] +wasm = ["wasm-bindgen", "ts-rs"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -30,7 +29,7 @@ zip = { version = "0.6.3", default-features = false, features = ["deflate"] } serde = { version = "1.0", features = ["derive"] } serde_json = {version = "1.0" } base64 = "0.13.1" -image = { version = "0.24.4", default-features = false, features=["gif", "jpeg", "png", "bmp", "tiff"], optional = true } +image = { version = "0.24.4", default-features = false, features=["gif", "jpeg", "png", "bmp", "tiff"] } wasm-bindgen = { version = "0.2.78", optional = true } ts-rs = { version = "6.1", optional = true }