-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce dedicated minimum supported Rust version job
Introduce a dedicated CI job for checking that the program builds with the advertised minimum supported Rust version. One problem that we have with the existing check is that it builds the entire crate, including all tests and other development artifacts. But we don't really care whether anything development related adheres to our MSRV -- only the main program and core extensions.
- Loading branch information
Showing
3 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
name = "nitrocli" | ||
version = "0.4.1" | ||
edition = "2021" | ||
rust-version = "1.56" | ||
authors = ["Daniel Mueller <[email protected]>"] | ||
license = "GPL-3.0-or-later" | ||
homepage = "https://github.com/d-e-s-o/nitrocli" | ||
|
@@ -63,7 +64,7 @@ version = "0.9.0" | |
version = "3.0.2" | ||
|
||
[dependencies.serde] | ||
version = "1.0" | ||
version = "1.0.103" | ||
features = ["derive"] | ||
|
||
[dependencies.structopt] | ||
|
@@ -87,3 +88,12 @@ version = "1" | |
|
||
[dev-dependencies.tempfile] | ||
version = "3.1" | ||
|
||
[dev-dependencies] | ||
# A set of unused dependencies that we require to force correct minimum versions | ||
# of transitive dependencies, for cases where our dependencies have incorrect | ||
# dependency specifications themselves. | ||
# error: cannot find macro `log` in this scope | ||
_log_unused = { package = "log", version = "0.4.4" } | ||
# error[E0635]: unknown feature `proc_macro_span_shrink` | ||
_proc_macro2_unused = { package = "proc-macro2", version = "1.0.60" } |