chore: Add rust-version field. MSRV is unchanged at 1.76 (#435)

This commit is contained in:
Fabian-Lars
2025-01-29 14:04:02 +01:00
committed by GitHub
parent b0527068dc
commit c6e6474e78
4 changed files with 9 additions and 4 deletions

5
.changes/rust-version.md Normal file
View File

@@ -0,0 +1,5 @@
---
cargo-mobile2: patch
---
Add `rust-version` field in Cargo.toml. The actual MSRV remains unchanged (`1.76`).

View File

@@ -13,7 +13,7 @@ on:
- "**.toml"
- "**.lock"
- ".github/workflows/*.yml"
branches: [master]
branches: [dev]
jobs:
Check_Formatting:
@@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust_version: [stable, beta, nightly]
rust_version: [1.76, stable, beta, nightly]
platform:
- { target: x86_64-pc-windows-msvc, os: windows-latest }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }

2
Cargo.lock generated
View File

@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
version = 3
[[package]]
name = "adler"

View File

@@ -14,7 +14,7 @@ readme = "README.md"
keywords = [ "cargo", "mobile", "ios", "android", "tauri" ]
categories = [ "development-tools::cargo-plugins" ]
license = "Apache-2.0 OR MIT"
rust-version = "1.76"
[package.metadata.docs.rs]
no-default-features = true