Use check instead of clippy for MSRV check
MODIFY
.github/workflows/opencv-rust.yml
.github/workflows/opencv-rust.yml
@@ -179,9 +179,9 @@ jobs:
shell: bash
- name: Install Rust
- uses: dtolnay/rust-toolchain@1.58.0
+ uses: dtolnay/rust-toolchain@1.59.0
- - name: Test project
+ - name: Check project
env:
OS_FAMILY: ${{ runner.os }}
run: ci/msrv.sh

MODIFY
README.md
README.md
@@ -310,7 +310,7 @@ The following OpenCV versions are supported at the moment:
### Minimum rustc version (MSRV)
-Currently, version 1.58.0 is required, but generally you should use the latest stable rustc to compile this crate.
+Currently, version 1.59.0 is required.
### Platform support

MODIFY
ci/msrv.sh
ci/msrv.sh
@@ -10,6 +10,7 @@ echo "=== Current directory: $(pwd)"
echo "=== Environment variable dump:"
export
echo "=== Target settings:"
+rustc --version
rustc --print=cfg
-cargo clippy -vv --all-targets --all-features --workspace --tests
+cargo check -vv --all-targets --all-features --workspace --tests

MODIFY
ci/script.sh
ci/script.sh
@@ -54,6 +54,7 @@ echo "=== Current directory: $(pwd)"
echo "=== Environment variable dump:"
export
echo "=== Target settings:"
+rustc --version
rustc --print=cfg
cargo test -vv -p opencv-binding-generator

Use check instead of clippy for MSRV check