Skip to content

Commit

Permalink
Merge pull request #356 from kbknapp/issue-355
Browse files Browse the repository at this point in the history
Notes MSRV is what is required to _run_
  • Loading branch information
kbknapp committed Jun 19, 2023
2 parents 2055212 + 403b716 commit 5ad17e2
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 12 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
rust:
- nightly
- 1.65.0 # MSRV
- 1.67.0 # MSRV
- stable

steps:
Expand Down Expand Up @@ -54,5 +54,9 @@ jobs:
run: just lint

- name: MSRV Check
if: ${{ matrix.rust == '1.65.0' }}
run: cargo check
if: ${{ matrix.rust == '1.67.0' }}
# Note we have to actually _run_ the application to check the MSRV.
# The standard `cargo check` may successfully build on an earlier
# Rust, but cargo-oudated by not be able to successfully run in such
# environments.
run: cargo run -- outdated
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<a name="v0.13.0"></a>
### v0.13.0 (2023-06-19)

#### Changes

* MSRV is now properly noted as 1.67.0. A note has been added that while you may be able to compile
on an earlier version of Rust, the MSRV is what is required to _run_ `cargo-oudated` because it
uses `cargo` internally.

#### Maintenance

* bump `strum` to v0.25

<a name="v0.12.0"></a>
### v0.12.0 (2023-06-17)

Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-outdated"
version = "0.12.0"
version = "0.13.0"
authors = [
"Kevin K. <kbknapp@gmail.com>",
"Frederick Z. <frederick888@tsundere.moe>",
Expand All @@ -20,7 +20,7 @@ license = "MIT"
readme = "README.md"
repository = "https://github.com/kbknapp/cargo-outdated.git"
description = "Cargo subcommand for displaying when dependencies are out of date"
rust-version = "1.65.0" # MSRV
rust-version = "1.67.0" # MSRV

[[bin]]
name = "cargo-outdated"
Expand All @@ -38,7 +38,7 @@ tabwriter = "1.2.1"
tempfile = "3"
toml = "0.7.4"
clap = { version = "4.1.4", features = ["derive"] }
strum = { version = "0.24.1", features = ["derive"] }
strum = { version = "0.25.0", features = ["derive"] }

[dependencies.termcolor]
optional = true
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ Options:
-r, --root ROOT Package to treat as the root package
```

## Minimum Supported Rust Version (MSRV)

The MSRV of this crate is what is required to _run_ `cargo outdated`, you may be able to compile
`cargo outdated` itself on an earlier version of Rust. However, because `cargo oudated` uses
`cargo` internally, it requires a specific minimum version to run successfully.

The current MSRV can be found in the `Cargo.toml` under the `package.rust-version` field.

## License

`cargo-outdated` is released under the terms of either the MIT or Apache 2.0 license. See the LICENSE-MIT or LICENSE-APACHE file for the details.

0 comments on commit 5ad17e2

Please sign in to comment.