diff --git a/Cargo.lock b/Cargo.lock index 7bbb6f97..0db1f61f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,9 +25,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc" +checksum = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704" [[package]] name = "arklib" @@ -501,6 +501,24 @@ dependencies = [ "adler32", ] +[[package]] +name = "iter_tools" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee1f87ffbdadd88f99d74b86f5139a74b37b4a8d3d08b18e227a96147e27151" +dependencies = [ + "itertools", +] + +[[package]] +name = "itertools" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" +dependencies = [ + "either", +] + [[package]] name = "jpeg-decoder" version = "0.2.6" @@ -578,6 +596,12 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" +[[package]] +name = "maybe-owned" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" + [[package]] name = "memchr" version = "2.5.0" @@ -692,9 +716,9 @@ checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa" [[package]] name = "pdfium-render" -version = "0.7.5" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54152d97c4972b2d05970e085d90ac0400723a1c4d67867775b0bcc6846a9223" +checksum = "8d53f27caa751104cc84d26f8c9009052e521e0b8e71fbc3cb1c062d31eeef18" dependencies = [ "bindgen", "bitflags", @@ -702,10 +726,12 @@ dependencies = [ "console_error_panic_hook", "console_log", "image", + "iter_tools", "js-sys", "lazy_static", "libloading", "log", + "maybe-owned", "utf16string", "wasm-bindgen", "wasm-bindgen-futures", diff --git a/Cargo.toml b/Cargo.toml index 5d57b255..331d32f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,15 +8,15 @@ name = "arklib" crate-type = ["rlib"] [dependencies] -log = { version = "0.4.14", features = ["release_max_level_off"] } -crc32fast = "1.3.0" +log = { version = "0.4.17", features = ["release_max_level_off"] } +crc32fast = "1.3.2" walkdir = "2.3.2" -anyhow = "1.0" +anyhow = "1.0.58" env_logger = "0.9.0" lazy_static = "1.4.0" canonical-path = "2.0.2" image = "0.24.2" -pdfium-render = "0.7.1" +pdfium-render = { version = "0.7.10", features = ["thread_safe"] } libloading = "0.7.3" [dev-dependencies]