chore: bump MRSV to 1.74

This commit is contained in:
graelo 2024-08-13 00:04:45 +02:00
parent 5f7b66a1ef
commit d78cab9b62
5 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [1.70.0, beta, nightly]
rust: [1.74.0, beta, nightly]
steps:
- name: Rust install

View file

@ -2,7 +2,7 @@
[![crate](https://img.shields.io/crates/v/tmux-copyrat.svg)](https://crates.io/crates/tmux-copyrat)
[![documentation](https://docs.rs/tmux-copyrat/badge.svg)](https://docs.rs/tmux-copyrat)
[![minimum rustc 1.70](https://img.shields.io/badge/rustc-1.70+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[![minimum rustc 1.74](https://img.shields.io/badge/rustc-1.74+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[![edition 2021](https://img.shields.io/badge/edition-2021-blue.svg)](https://doc.rust-lang.org/edition-guide/rust-2021/index.html)
[![tmux 3.x](https://img.shields.io/badge/tmux-3.0+-blue.svg)](https://tmux.github.io)
[![build status](https://github.com/graelo/tmux-copyrat/actions/workflows/essentials.yml/badge.svg)](https://github.com/graelo/tmux-copyrat/actions)
@ -23,7 +23,7 @@ The name is a tribute to [tmux-copyrat], which I used for many years for that
same functionality. For this Rust implementation, I got inspired by
[tmux-thumbs], and I even borrowed some parts of his regex tests.
Version requirement: _rustc 1.70+_
Version requirement: _rustc 1.74+_
## Demo

View file

@ -5,6 +5,6 @@
set -ex
ci=$(dirname $0)
for version in 1.70.0 stable beta nightly; do
for version in 1.74.0 stable beta nightly; do
rustup run "$version" "$ci/test_full.sh"
done

View file

@ -3,7 +3,7 @@
set -e
CRATE=tmux-copyrat
MSRV=1.70
MSRV=1.74
get_rust_version() {
local array=($(rustc --version));
@ -28,7 +28,7 @@ if ! check_version $MSRV ; then
fi
FEATURES=()
# check_version 1.70 && FEATURES+=(libm)
# check_version 1.74 && FEATURES+=(libm)
echo "Testing supported features: ${FEATURES[*]}"
set -x

View file

@ -12,7 +12,7 @@
//! same functionality. For this Rust implementation, I got inspired by
//! [tmux-thumbs], and I even borrowed some parts of his regex tests.
//!
//! Version requirement: _rustc 1.70+_
//! Version requirement: _rustc 1.74+_
//!
//! ## Demo
//!