From aa2dda7885a83354d1519eef62397b90189a9802 Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Thu, 1 Sep 2022 20:20:27 +0800 Subject: Switch to `fast_qr` crate --- Cargo.lock | 78 +++++++++----------------------------------------------------- 1 file changed, 11 insertions(+), 67 deletions(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index cc8d3f6..6b02de7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -474,12 +474,6 @@ version = "3.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" -[[package]] -name = "bytemuck" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f5715e491b5a1598fc2bef5a606847b5dc1d48ea625bd3c02c00de8285591da" - [[package]] name = "byteorder" version = "1.4.3" @@ -528,12 +522,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -[[package]] -name = "checked_int_cast" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cc5e6b5ab06331c33589842070416baa137e8b0eb912b008cfd4a78ada7919" - [[package]] name = "chrono" version = "0.4.22" @@ -638,12 +626,6 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e769b5c8c8283982a987c6e948e540254f1058d5a74b8794914d4ef5fc2a24" -[[package]] -name = "color_quant" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" - [[package]] name = "comrak" version = "0.14.0" @@ -833,6 +815,15 @@ dependencies = [ "regex", ] +[[package]] +name = "fast_qr" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b798dfd6e29b85c0bcf434272db4cde0100ab4d82c5db0a4f422e77b30d0b4e4" +dependencies = [ + "wasm-bindgen", +] + [[package]] name = "fastrand" version = "1.8.0" @@ -1096,7 +1087,7 @@ dependencies = [ "indexmap", "lasso", "num-bigint", - "num-rational 0.4.1", + "num-rational", "num-traits", "once_cell", "phf 0.9.0", @@ -1291,20 +1282,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "image" -version = "0.23.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ffcb7e7244a9bf19d35bf2883b9c080c4ced3c07a9895572178cdb8f13f6a1" -dependencies = [ - "bytemuck", - "byteorder", - "color_quant", - "num-iter", - "num-rational 0.3.2", - "num-traits", -] - [[package]] name = "indexmap" version = "1.9.1" @@ -1570,13 +1547,13 @@ dependencies = [ "clap_mangen", "comrak", "fake-tty", + "fast_qr", "futures", "get_if_addrs", "grass", "hex", "http", "httparse", - "lazy_static", "libflate", "log", "maud", @@ -1586,7 +1563,6 @@ dependencies = [ "port_check", "predicates", "pretty_assertions", - "qrcode", "regex", "reqwest", "rstest", @@ -1669,28 +1645,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-rational" version = "0.4.1" @@ -2085,16 +2039,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "qrcode" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16d2f1455f3630c6e5107b4f2b94e74d76dea80736de0981fd27644216cff57f" -dependencies = [ - "checked_int_cast", - "image", -] - [[package]] name = "quote" version = "1.0.21" -- cgit v1.2.3