diff --git a/Cargo.lock b/Cargo.lock index a82fbd764..c27885f62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2341,7 +2341,7 @@ dependencies = [ "indicatif", "log", "octocrab", - "opencv", + "opencv 0.93.1", "parity-scale-codec", "png", "qr_reader_pc", @@ -2629,13 +2629,33 @@ dependencies = [ "libc", "num-traits", "once_cell", - "opencv-binding-generator", + "opencv-binding-generator 0.84.0", "pkg-config", "semver", "shlex", "vcpkg", ] +[[package]] +name = "opencv" +version = "0.93.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef60b95350049ceccc83f859e1fbf40875fc9b9c4fbffe33b340e099d05a56b2" +dependencies = [ + "cc", + "dunce", + "jobserver", + "libc", + "num-traits", + "once_cell", + "opencv-binding-generator 0.91.0", + "pkg-config", + "semver", + "shlex", + "vcpkg", + "windows", +] + [[package]] name = "opencv-binding-generator" version = "0.84.0" @@ -2650,6 +2670,21 @@ dependencies = [ "regex", ] +[[package]] +name = "opencv-binding-generator" +version = "0.91.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "984e10d6fda4aadda32e3723b7f59775fa7ecef1154a01d8273724e76657fec0" +dependencies = [ + "clang", + "clang-sys", + "dunce", + "once_cell", + "percent-encoding", + "regex", + "shlex", +] + [[package]] name = "openssl" version = "0.10.45" @@ -3043,7 +3078,7 @@ dependencies = [ "hex", "image", "indicatif", - "opencv", + "opencv 0.88.9", "qr_reader_phone", "quircs", ] @@ -5404,6 +5439,70 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" +dependencies = [ + "windows-core", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-core" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-result", + "windows-strings", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-implement" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.72", +] + +[[package]] +name = "windows-interface" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.72", +] + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-strings" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result", + "windows-targets 0.52.6", +] + [[package]] name = "windows-sys" version = "0.36.1" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 24b69adeb..d8d6ca03c 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -43,7 +43,7 @@ blake2-rfc = "0.2.18" indexmap = { version = "1", features = ["serde"] } [dependencies.opencv] -version = "0.88.9" +version = "0.93.1" default-features = false features = ["videoio", "imgproc", "highgui"]