feat: use workspace dependencies and raise MSRV

This commit is contained in:
Harsh Shandilya 2022-09-22 21:12:01 +05:30
parent 722056ddf7
commit f892aba29a
No known key found for this signature in database
6 changed files with 8 additions and 5 deletions

View File

@ -13,4 +13,4 @@ jobs:
uses: msfjarvis/shared-workflows/.github/workflows/test-rust-project.yml@main
with:
# Keep in sync with healthchecks/Cargo.toml
msrv: 1.59.0
msrv: 1.64.0

View File

@ -9,3 +9,6 @@ members = [
codegen-units = 1
lto = "thin"
panic = "abort"
[workspace.dependencies]
clap = { version = "4.0.0-rc.2", features = [ "color", "deprecated", "derive" ] }

View File

@ -14,7 +14,7 @@ include = ["src/**/*", "../LICENSE-*", "README.md"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.0.0-rc.2", features = [ "color", "deprecated", "derive" ] }
clap = { workspace = true }
color-eyre = { version = "0.6.2", default-features = false }
comfy-table = "6.1.0"
healthchecks = { path = "../healthchecks", version = "^3.1.2" }

View File

@ -10,7 +10,7 @@ license = "MIT/Apache-2.0"
keywords = ["healthchecks"]
readme = "README.md"
include = ["src/**/*", "../LICENSE-*", "README.md"]
rust-version = "1.59.0"
rust-version = "1.64.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -65,7 +65,7 @@ fn main() {
## Minimum supported Rust Version
healthchecks' MSRV is 1.59.0
healthchecks' MSRV is 1.64.0
## Licensing

View File

@ -14,7 +14,7 @@ include = ["src/**/*", "../LICENSE-*", "README.md"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.0.0-rc.2", features = [ "color", "deprecated", "derive" ] }
clap = { workspace = true }
color-eyre = { version = "0.6.2", default-features = false }
healthchecks = { path = "../healthchecks", version = "^3.1.2" }
subprocess = "0.2.9"