From 18e8d405750e2ebb361890afcc1fa853b4970842 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?joseLu=C3=ADs?=
Date: Mon, 3 Feb 2025 10:33:46 +0100
Subject: [PATCH] set MSRV to 1.70 and use SPDX license format
- add CI MSRV check; update actions/checkout to v4.
---
.github/workflows/rust.yml | 14 +++++++++++++-
Cargo.toml | 3 ++-
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 265013b7..28e3d8c8 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -24,7 +24,7 @@ jobs:
packages: libx11-dev libxi-dev libgl1-mesa-dev gcc-mingw-w64
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Install packages (Linux)
if: runner.os == 'Linux'
run: |
@@ -70,3 +70,15 @@ jobs:
- name: cargo quad-apk
run: |
cargo quad-apk build
+
+ msrv:
+ name: MSRV Check
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: '1.70.0'
+ override: true
+ - name: Verify MSRV
+ run: cargo build --all-targets
diff --git a/Cargo.toml b/Cargo.toml
index d6f7f8b3..73db940c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,8 @@ name = "miniquad"
version = "0.4.7"
authors = ["not-fl3 "]
edition = "2018"
-license = "MIT/Apache-2.0"
+rust-version = "1.70"
+license = "MIT OR Apache-2.0"
homepage = "https://github.com/not-fl3/miniquad"
repository = "https://github.com/not-fl3/miniquad"
description = """