From 68642b81cbcb8c8159811c312a0b6b369d1a785e Mon Sep 17 00:00:00 2001 From: David Thomas Date: Sun, 26 Nov 2023 22:58:11 +0000 Subject: [PATCH] Bump MSRV to match serenity's --- .github/workflows/ci.yml | 6 +++--- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba3d0fecc18a..306faec8fc03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: include: - name: MSRV - toolchain: 1.63.0 + toolchain: 1.74.0 # don't do doctests because they rely on new features for brevity # copy known Cargo.lock to avoid random dependency MSRV bumps to mess up our test command: cp .github/Cargo-msrv.lock Cargo.lock && cargo test --all-features --lib --tests @@ -40,7 +40,7 @@ jobs: - name: no features # don't test examples because they need collector feature command: cargo test --no-default-features --features serenity/rustls_backend --lib --tests - + # - name: all features + simdjson # command: cargo test --all-features --features serenity/simdjson --lib --tests --examples # rustflags: -C target-cpu=haswell # needed for simdjson @@ -105,7 +105,7 @@ jobs: env: RUSTFLAGS: -C target-cpu=haswell # for simd-json RUSTDOCFLAGS: --cfg doc_nightly -D rustdoc::broken_intra_doc_links - + # If on current/next branch (as opposed to PR or whatever), publish docs to github pages - name: Move files if: github.ref == 'refs/heads/current' || github.ref == 'refs/heads/next' diff --git a/Cargo.toml b/Cargo.toml index e43f656eba49..46e757405351 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ authors = ["kangalio "] edition = "2018" name = "poise" version = "0.5.7" -rust-version = "1.63.0" +rust-version = "1.74.0" description = "A Discord bot framework for serenity" license = "MIT" repository = "https://github.com/serenity-rs/poise/" diff --git a/README.md b/README.md index d3be6e682065..19ed73dc922e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Docs](https://img.shields.io/badge/docs-online-informational)](https://docs.rs/poise/) [![Docs (git)](https://img.shields.io/badge/docs%20%28git%29-online-informational)](https://serenity-rs.github.io/poise/) [![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![Rust: 1.63+](https://img.shields.io/badge/rust-1.63+-93450a)](https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html) +[![Rust: 1.74+](https://img.shields.io/badge/rust-1.74+-93450a)](https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html) # Poise Poise is an opinionated Discord bot framework with a few distinctive features: