Skip to content

Commit e14d2c1

Browse files
committed
README: Fix MSRV badge
1 parent 100d5bc commit e14d2c1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
# See top README for MSRV policy
20-
rust_version: [1.68.0, stable]
20+
rust-version: [1.68.0, stable]
2121
steps:
2222
- uses: actions/checkout@v4
2323

2424
- uses: hecrj/setup-rust-action@v2
2525
with:
26-
rust-version: ${{ matrix.rust_version }}
26+
rust-version: ${{ matrix.rust-version }}
2727

2828
- name: Install Rust targets
2929
run: >
@@ -57,7 +57,7 @@ jobs:
5757
build --features native-activity
5858
5959
- name: Build agdk-mainloop example
60-
if: matrix.rust_version == 'stable'
60+
if: matrix.rust-version == 'stable'
6161
working-directory: examples/agdk-mainloop
6262
run: >
6363
cargo ndk
@@ -68,7 +68,7 @@ jobs:
6868
-o app/src/main/jniLibs/ -- build
6969
7070
- name: Build na-mainloop example
71-
if: matrix.rust_version == 'stable'
71+
if: matrix.rust-version == 'stable'
7272
working-directory: examples/na-mainloop
7373
run: >
7474
cargo ndk

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![ci](https://github.com/rust-mobile/android-activity/actions/workflows/ci.yml/badge.svg)](https://github.com/rust-mobile/android-activity/actions/workflows/ci.yml)
44
[![crates.io](https://img.shields.io/crates/v/android-activity.svg)](https://crates.io/crates/android-activity)
55
[![Docs](https://docs.rs/android-activity/badge.svg)](https://docs.rs/android-activity)
6-
[![MSRV](https://img.shields.io/badge/rustc-1.64.0+-ab6000.svg)](https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html)
6+
[![MSRV](https://img.shields.io/badge/rustc-1.68.0+-ab6000.svg)](https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html)
77

88
## Overview
99

@@ -157,8 +157,8 @@ Prior to working on android-activity, the existing glue crates available for bui
157157
## MSRV
158158

159159
We aim to (at least) support stable releases of Rust from the last three months. Rust has a 6 week release cycle which means we will support the last three stable releases.
160-
For example, when Rust 1.69 is released we would limit our `rust_version` to 1.67.
160+
For example, when Rust 1.69 is released we would limit our `rust-version` to 1.67.
161161

162-
We will only bump the `rust_version` at the point where we either depend on a new features or a dependency has increased its MSRV, and we won't be greedy. In other words we will only set the MSRV to the lowest version that's _needed_.
162+
We will only bump the `rust-version` at the point where we either depend on a new features or a dependency has increased its MSRV, and we won't be greedy. In other words we will only set the MSRV to the lowest version that's _needed_.
163163

164-
MSRV updates are not considered to be inherently semver breaking (unless a new feature is exposed in the public API) and so a `rust_version` change may happen in patch releases.
164+
MSRV updates are not considered to be inherently semver breaking (unless a new feature is exposed in the public API) and so a `rust-version` change may happen in patch releases.

0 commit comments

Comments
 (0)