fix: update min rust version to 1.64

This commit is contained in:
graelo 2023-04-02 10:57:01 +02:00
parent 5752d800b8
commit 7046114a3f
5 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
rust: [1.60.0, beta, nightly] rust: [1.64.0, beta, nightly]
steps: steps:
- name: Rust install - 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) [![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) [![documentation](https://docs.rs/tmux-copyrat/badge.svg)](https://docs.rs/tmux-copyrat)
[![minimum rustc 1.8](https://img.shields.io/badge/rustc-1.60+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) [![minimum rustc 1.64](https://img.shields.io/badge/rustc-1.64+-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) [![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) [![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) [![build status](https://github.com/graelo/tmux-copyrat/actions/workflows/essentials.yml/badge.svg)](https://github.com/graelo/tmux-copyrat/actions)
@ -24,7 +24,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 same functionality. For this Rust implementation, I got inspired by
[tmux-thumbs], and I even borrowed some parts of his regex tests. [tmux-thumbs], and I even borrowed some parts of his regex tests.
Version requirement: _rustc 1.60+_ Version requirement: _rustc 1.64+_
## Demo ## Demo

View file

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

View file

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

View file

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