Merge pull request #2772 from lucab/ups/bump-msrv
cargo: bump minimum Rust version to 1.63
This commit is contained in:
commit
13ceb3d531
|
|
@ -14,8 +14,6 @@ env:
|
||||||
CARGO_PROJECT_FEATURES: "v2021_5,cap-std-apis"
|
CARGO_PROJECT_FEATURES: "v2021_5,cap-std-apis"
|
||||||
# TODO: Automatically query this from the C side
|
# TODO: Automatically query this from the C side
|
||||||
LATEST_LIBOSTREE: "v2022_6"
|
LATEST_LIBOSTREE: "v2022_6"
|
||||||
# Minimum supported Rust version (MSRV)
|
|
||||||
ACTION_MSRV_TOOLCHAIN: 1.58.1
|
|
||||||
# Pinned toolchain for linting
|
# Pinned toolchain for linting
|
||||||
ACTION_LINTS_TOOLCHAIN: 1.64.0
|
ACTION_LINTS_TOOLCHAIN: 1.64.0
|
||||||
|
|
||||||
|
|
@ -38,6 +36,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
- name: Detect crate MSRV
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
msrv=$(cargo metadata --format-version 1 --no-deps | \
|
||||||
|
jq -r '.packages | .[0].rust_version')
|
||||||
|
echo "Crate MSRV: $msrv"
|
||||||
|
echo "ACTION_MSRV_TOOLCHAIN=$msrv" >> $GITHUB_ENV
|
||||||
- name: Remove system Rust toolchain
|
- name: Remove system Rust toolchain
|
||||||
run: dnf remove -y rust cargo
|
run: dnf remove -y rust cargo
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ license = "MIT"
|
||||||
name = "ostree"
|
name = "ostree"
|
||||||
readme = "rust-bindings/README.md"
|
readme = "rust-bindings/README.md"
|
||||||
repository = "https://github.com/ostreedev/ostree"
|
repository = "https://github.com/ostreedev/ostree"
|
||||||
|
rust-version = "1.63.0"
|
||||||
version = "0.16.0"
|
version = "0.16.0"
|
||||||
|
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue