0.63.1 Regenerate bindings
MODIFY
.github/workflows/opencv-rust.yml
.github/workflows/opencv-rust.yml
@@ -84,7 +84,7 @@ jobs:
OS_FAMILY: ${{ matrix.os.family }}
RUST_TOOLCHAIN: ${{ matrix.rust }}
VCPKG_OPENCV_VERSION: ${{ matrix.version.vcpkg }}
- VCPKG_TREE_COMMIT: 28af86cc15b53c09de6c0457e0ac737795e497e2
+ VCPKG_TREE_COMMIT: 2022.02.23
steps:
- uses: actions/checkout@v2

MODIFY
CHANGES.md
CHANGES.md
+* 0.63.1
+ * Provide `From` implementations from tuples and similar C++ conversions for `Point`, `Size`, `Rect` and `Point3`.
+
* 0.63.0
* Provide bindings for `++` and `--` operators (fixes [#319](https://github.com/twistedfall/opencv-rust/issues/319))
* Drop type restrictions for `Rect_`, `Point_`, `Size_`, `Point3_`, `VecN` (and related structs) (fixes [#316](https://github.com/twistedfall/opencv-rust/issues/316))

MODIFY
Cargo.toml
Cargo.toml
@@ -6,7 +6,7 @@ repository = "https://github.com/twistedfall/opencv-rust"
readme = "README.md"
keywords = ["opencv", "vision"]
license = "MIT"
-version = "0.63.0"
+version = "0.63.1"
edition = "2018"
authors = ["Pro <twisted.fall@gmail.com>", "Mathieu Poumeyrol <kali@zoy.org>"]
autoexamples = false # not all examples compile on just any system

MODIFY
ci/install-focal-vcpkg.sh
ci/install-focal-vcpkg.sh
set -vex
+sudo apt-get update
+sudo apt-get install -y clang libharfbuzz0b git curl zip unzip tar bison gperf libx11-dev libxft-dev libxext-dev \
+ libgles2-mesa-dev autoconf libtool build-essential libxrandr-dev libxi-dev libxcursor-dev libxdamage-dev libxinerama-dev
+
export VCPKG_ROOT="$HOME/build/vcpkg"
if [[ -e "$VCPKG_ROOT" && ! -e "$VCPKG_ROOT/.git" ]]; then
rm -rf "$VCPKG_ROOT"
@@ -18,7 +22,6 @@ git checkout "$VCPKG_TREE_COMMIT"
echo "set(VCPKG_BUILD_TYPE release)" >> triplets/x64-linux.cmake
export VCPKG_DEFAULT_TRIPLET=x64-linux
#./vcpkg install llvm # takes very long time
-sudo apt-get install -y clang libharfbuzz0b
# workaround to make clang_sys crate detect installed libclang
sudo ln -s libclang.so.1 /usr/lib/llvm-10/lib/libclang.so
./vcpkg upgrade --no-dry-run

MODIFY
ci/install-windows-chocolatey.sh
ci/install-windows-chocolatey.sh
set -vex
-choco install -y llvm --version 13.0.0
+choco install -y llvm --version 13.0.1
choco install -y opencv --version "$OPENCV_VERSION"

MODIFY
ci/install-windows-vcpkg.sh
ci/install-windows-vcpkg.sh
@@ -21,7 +21,7 @@ echo "set(VCPKG_BUILD_TYPE release)" >> "$VCPKG_ROOT/triplets/x64-windows-static
echo "set(VCPKG_BUILD_TYPE release)" >> "$VCPKG_ROOT/triplets/x86-windows.cmake"
export VCPKG_DEFAULT_TRIPLET=x64-windows
#./vcpkg install llvm # takes very long time
-choco install -y llvm --version 13.0.0
+choco install -y llvm --version 13.0.1
"$VCPKG_ROOT/vcpkg" upgrade --no-dry-run
"$VCPKG_ROOT/vcpkg" install --recurse "opencv${VCPKG_OPENCV_VERSION}[contrib,nonfree]"
popd

MODIFY
src/opencv/hub/core.rs
src/opencv/hub/core.rs
@@ -18309,6 +18309,7 @@ pub trait SparseMatConstIteratorTrait: core::SparseMatConstIteratorTraitConst {
/// moves iterator to the previous element
#[inline]
+ #[cfg(not(target_os = "windows"))]
fn decr(&mut self) -> Result<core::SparseMatConstIterator> {
return_send!(via ocvrs_return);
unsafe { sys::cv_SparseMatConstIterator_operatorSS(self.as_raw_mut_SparseMatConstIterator(), ocvrs_return.as_mut_ptr()) };

MODIFY
src/opencv/hub/sys.rs
src/opencv/hub/sys.rs
@@ -1382,6 +1382,7 @@ mod core_sys {
pub fn cv_SparseMatConstIterator_SparseMatConstIterator_const_SparseMatX(_m: *const c_void, ocvrs_return: *mut Result<*mut c_void>);
pub fn cv_SparseMatConstIterator_SparseMatConstIterator_const_SparseMatConstIteratorR(it: *const c_void, ocvrs_return: *mut Result<*mut c_void>);
pub fn cv_SparseMatConstIterator_node_const(instance: *const c_void, ocvrs_return: *mut Result<*mut c_void>);
+ #[cfg(not(target_os = "windows"))]
pub fn cv_SparseMatConstIterator_operatorSS(instance: *mut c_void, ocvrs_return: *mut Result<*mut c_void>);
pub fn cv_SparseMatConstIterator_operatorAA(instance: *mut c_void, ocvrs_return: *mut Result<*mut c_void>);
pub fn cv_SparseMatConstIterator_seekEnd(instance: *mut c_void, ocvrs_return: *mut Result_void);

0.63.1 Regenerate bindings