From a8521e7a60704b71ac1eb771ab7f4d6ad5fb763f Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 24 Oct 2024 00:06:05 +0000 Subject: [PATCH] Update Rust crate qrcode-generator to v5 --- Cargo.lock | 23 +++++++++++------------ Cargo.toml | 2 +- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 39f1426..ca7eac3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -804,6 +804,12 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +[[package]] +name = "byteorder-lite" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" + [[package]] name = "bytes" version = "1.7.1" @@ -911,12 +917,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "color_quant" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" - [[package]] name = "colorchoice" version = "1.0.2" @@ -1729,13 +1729,12 @@ dependencies = [ [[package]] name = "image" -version = "0.24.9" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" +checksum = "bc144d44a31d753b02ce64093d532f55ff8dc4ebf2ffb8a63c0dda691385acae" dependencies = [ "bytemuck", - "byteorder", - "color_quant", + "byteorder-lite", "num-traits", "png", ] @@ -2387,9 +2386,9 @@ dependencies = [ [[package]] name = "qrcode-generator" -version = "4.1.9" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d06cb9646c7a14096231a2474d7f21e5e8c13de090c68d13bde6157cfe7f159" +checksum = "faf0051849b5465059b75f59d388c7318aad6554701b74ecf02afc2573b0306c" dependencies = [ "html-escape", "image", diff --git a/Cargo.toml b/Cargo.toml index a28c31c..4c55c78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ sha2 = "0.10.8" lazy-regex = "3.3.0" totp_rfc6238 = "0.6.0" base32 = "0.5.0" -qrcode-generator = "4.1.9" +qrcode-generator = "5.0.0" webauthn-rs = { version = "0.5.0", features = ["danger-allow-state-serialisation"] } url = "2.5.0" light-openid = { version = "1.0.2", features = ["crypto-wrapper"] }