Skip to content

Commit

Permalink
Merge #10
Browse files Browse the repository at this point in the history
10: Bump MSRV and policy r=passcod a=passcod

This will incur a major bump to respect prior MSRV policy, but then as of this PR policy changes to not require that, and instead only actively support latest 5 stables.

Co-authored-by: Félix Saparelli <felix@passcod.name>
  • Loading branch information
bors[bot] and passcod committed Dec 3, 2022
2 parents 675e38d + 7cc1530 commit 85e5852
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 57 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Expand Up @@ -6,10 +6,10 @@ jobs:
clippy:
strategy:
matrix:
include:
- platform: macos
- platform: ubuntu
- platform: windows
platform:
- macos
- ubuntu
- windows

name: "Clippy on ${{ matrix.platform }}"
runs-on: "${{ matrix.platform }}-latest"
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/main.yml
Expand Up @@ -8,19 +8,13 @@ jobs:
check:
strategy:
matrix:
include:
- platform: macos
features: default
- platform: macos
features: with-tokio
- platform: ubuntu
features: default
- platform: ubuntu
features: with-tokio
- platform: windows
features: default
- platform: windows
features: with-tokio
platform:
- macos
- ubuntu
- windows
features:
- default
- with-tokio

name: "Check on ${{ matrix.platform }} (feat: ${{ matrix.features }})"
runs-on: "${{ matrix.platform }}-latest"
Expand Down
47 changes: 10 additions & 37 deletions .github/workflows/merge.yml
Expand Up @@ -9,43 +9,16 @@ jobs:
check:
strategy:
matrix:
include:
- platform: macos
toolchain: stable
features: default
- platform: macos
toolchain: 1.51.0
features: default
- platform: macos
toolchain: stable
features: with-tokio
- platform: macos
toolchain: 1.51.0
features: with-tokio
- platform: ubuntu
toolchain: stable
features: default
- platform: ubuntu
toolchain: 1.51.0
features: default
- platform: ubuntu
toolchain: stable
features: with-tokio
- platform: ubuntu
toolchain: 1.51.0
features: with-tokio
- platform: windows
toolchain: stable
features: default
- platform: windows
toolchain: 1.51.0
features: default
- platform: windows
toolchain: stable
features: with-tokio
- platform: windows
toolchain: 1.51.0
features: with-tokio
platform:
- macos
- ubuntu
- windows
toolchain:
- stable
- 1.60.0
features:
- default
- with-tokio

name: "Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }} (feat: ${{ matrix.features }})"
runs-on: "${{ matrix.platform }}-latest"
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Expand Up @@ -12,8 +12,9 @@ homepage = "https://github.com/watchexec/command-group"
repository = "https://github.com/watchexec/command-group"
readme = "README.md"

edition = "2018"
edition = "2021"
exclude = ["/bin", "/.github"]
rust-version = "1.60.0"

[dependencies]
async-trait = { version = "0.1.50", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,5 @@
[![Crate release version](https://flat.badgen.net/crates/v/command-group)](https://crates.io/crates/command-group)
[![Crate license: Apache 2.0 or MIT](https://flat.badgen.net/badge/license/Apache%202.0%20or%20MIT)][copyright]
![MSRV: 1.51.0 (breaking)](https://flat.badgen.net/badge/MSRV/1.51.0%20%28breaking%29/green)
[![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/45673)
[![CI status on main branch](https://github.com/watchexec/command-group/actions/workflows/main.yml/badge.svg)](https://github.com/watchexec/command-group/actions/workflows/main.yml)

Expand All @@ -10,7 +9,8 @@ _Extension to [`Command`](https://doc.rust-lang.org/std/process/struct.Command.h

- **[API documentation][docs]**.
- [Dual-licensed][copyright] with Apache 2.0 and MIT.
- Minimum Supported Rust Version: 1.51.0.
- Minimum Supported Rust Version: 1.60.0.
- This is set as: 5 versions before stable, at the time of publish.

[caretaker]: ./CARETAKERS.md
[copyright]: ./COPYRIGHT
Expand Down

0 comments on commit 85e5852

Please sign in to comment.