diff --git a/.clippy.toml b/.clippy.toml index fc3ef79a390..97dd653d334 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1 +1 @@ -msrv = "1.54.0" # MSRV +msrv = "1.56.0" # MSRV diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bacec0041a4..e9ce379c37e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: build: [msrv, wasm, wasm-wasi, debug, release] include: - build: msrv - rust: 1.54.0 # MSRV + rust: 1.56.0 # MSRV target: x86_64-unknown-linux-gnu features: full - build: wasm @@ -122,7 +122,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.54.0 # MSRV + toolchain: 1.56.0 # MSRV profile: minimal override: true - uses: Swatinem/rust-cache@v1 @@ -172,7 +172,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.54.0 # MSRV + toolchain: 1.56.0 # MSRV profile: minimal override: true components: clippy diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index 6910a7f0c81..4a67ac6bd40 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -92,9 +92,9 @@ jobs: strategy: matrix: rust: - - 1.54.0 # MSRV + - 1.56.0 # MSRV - stable - continue-on-error: ${{ matrix.rust != '1.54.0' }} # MSRV + continue-on-error: ${{ matrix.rust != '1.56.0' }} # MSRV runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/Cargo.toml b/Cargo.toml index 4161f36c6c2..563fc681c1a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ members = [ [package] name = "clap" version = "3.1.18" +rust-version = "1.56.0" # MSRV description = "A simple to use, efficient, and full-featured Command Line Argument Parser" repository = "https://github.com/clap-rs/clap" documentation = "https://docs.rs/clap/" diff --git a/Makefile b/Makefile index a8a1acc54f6..19e9b8c757a 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ ifneq (${TOOLCHAIN_TARGET},) ARGS+=--target ${TOOLCHAIN_TARGET} endif -MSRV?=1.54.0 +MSRV?=1.56.0 _FEATURES = minimal default wasm full debug release _FEATURES_minimal = --no-default-features --features "std" diff --git a/README.md b/README.md index ee6d9f3d8c6..8d9d4398012 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ OPTIONS: - Leverage feature flags to keep to one active branch - Being under [WG-CLI](https://github.com/rust-cli/team/) to increase the bus factor - We follow semver and will wait about 6-9 months between major breaking changes -- We will support the last two minor Rust releases (MSRV, currently 1.54.0) +- We will support the last two minor Rust releases (MSRV, currently 1.56.0) While these aspirations can be at odds with fast build times and low binary size, we will still strive to keep these reasonable for the flexibility you