Skip to content

Commit a0f8ee2

Browse files
committed
Added msrv 1.85.1
Added default feature "clang-runtime"
1 parent f78d6dc commit a0f8ee2

File tree

4 files changed

+45
-1
lines changed

4 files changed

+45
-1
lines changed

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[alias]
2+
test-all = "test --all --features=clang-runtime"
3+
clippy-all = "clippy --all --all-targets --features=clang-runtime"
4+
fmt-all = "fmt --all"

.github/workflows/msrv.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Find MSRV
2+
on:
3+
workflow_dispatch: # Only manual triggers
4+
5+
permissions: read-all
6+
7+
jobs:
8+
find_msrv:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
# Install Rust (stable) + cargo-msrv
14+
- name: Set up Rust
15+
uses: dtolnay/rust-toolchain@stable
16+
with:
17+
components: rustfmt, clippy # Optional
18+
19+
- name: Install cargo-msrv
20+
run: cargo install cargo-msrv
21+
22+
# List MSRV of deps (outputs JSON for clarity)
23+
- name: Run cargo-msrv list
24+
run: cargo msrv list --output-format json | tee msrv_list_output.json
25+
26+
# Find MSRV (outputs JSON for clarity)
27+
- name: Run cargo-msrv find
28+
run: cargo msrv find --output-format json | tee msrv_find_output.json
29+
30+
# (Optional) Upload result as an artifact
31+
- name: Upload MSRV result
32+
if: always()
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: msrv-results
36+
path: |
37+
msrv_list_output.json
38+
msrv_find_output.json

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ readme = "README.md"
88
keywords = ["opencv", "image_stacking"]
99
repository = "https://github.com/eadf/libstacker.rs"
1010
description = "Image alignment and stacking functions based on OpenCV and Rayon"
11+
rust-version = "1.85.1"
1112

1213
[[example]]
1314
name = "main"
@@ -20,6 +21,7 @@ ordered-float = "5.0.0"
2021
rayon = "1.10.0"
2122

2223
[features]
24+
default = ["clang-runtime"]
2325
clang-runtime = ["opencv/clang-runtime"]
2426

2527
[profile.dev]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: MIT OR Apache-2.0
22
// Copyright (c) 2021,2025 lacklustr@protonmail.com https://github.com/eadf
33

4-
//! This library contains multi-threaded image stacking functions,
4+
//! This library contains multithreaded image stacking functions,
55
//! based on OpenCV <https://crates.io/crates/opencv> and Rayon <https://crates.io/crates/rayon>.
66
//!
77
//! Copyright (c) 2021, 2025 Eadf <lacklustr@protonmail.com>.

0 commit comments

Comments
 (0)