From 6bd6bcf38ac750b480bceece5cdf1935caaa8d7a Mon Sep 17 00:00:00 2001 From: "Alexis (Poliorcetics) Bourget" Date: Fri, 10 Mar 2023 13:40:10 +0100 Subject: [PATCH] msrv: update to 1.64 --- .cirrus.yml | 8 ++++---- .github/workflows/CI.yml | 6 +++--- CHANGELOG.md | 5 +++++ Cargo.toml | 4 ++-- README.md | 2 +- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index cdc15940c..de5ba398f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,11 +1,11 @@ task: - name: rust 1.59 on freebsd 13 + name: rust 1.64 on freebsd 13 freebsd_instance: image: freebsd-13-1-release-amd64 setup_script: - pkg install -y curl - curl https://sh.rustup.rs -sSf --output rustup.sh - - sh rustup.sh -y --profile=minimal --default-toolchain=1.59 + - sh rustup.sh -y --profile=minimal --default-toolchain=1.64 - . $HOME/.cargo/env - rustup --version - rustup component add clippy @@ -39,13 +39,13 @@ task: - FREEBSD_CI=1 cargo test --lib -j1 -- --ignored task: - name: rust 1.59 on mac m1 + name: rust 1.64 on mac m1 macos_instance: image: ghcr.io/cirruslabs/macos-monterey-base:latest setup_script: - brew install curl - curl https://sh.rustup.rs -sSf --output rustup.sh - - sh rustup.sh -y --profile=minimal --default-toolchain=1.59 + - sh rustup.sh -y --profile=minimal --default-toolchain=1.64 - source $HOME/.cargo/env - rustup --version - rustup component add clippy diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d5f4206d9..5ca264e26 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -70,7 +70,7 @@ jobs: - { os: 'ubuntu-latest', target: 'x86_64-linux-android', cross: true } - { os: 'ubuntu-latest', target: 'i686-linux-android', cross: true } toolchain: - - "1.59.0" # minimum supported rust version + - "1.64.0" # minimum supported rust version - stable - nightly steps: @@ -141,7 +141,7 @@ jobs: - macos-latest - windows-latest toolchain: - - "1.59.0" # minimum supported rust version + - "1.64.0" # minimum supported rust version - stable - nightly steps: @@ -207,7 +207,7 @@ jobs: strategy: matrix: toolchain: - - "1.59.0" # minimum supported rust version + - "1.64.0" # minimum supported rust version - stable - nightly steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index ba9d9b4e6..6411d27bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.29.0 + + * Replace `winapi` with the `windows` crate. + * Update minimum supported Rust version (MSRV) to `1.64` for `windows` 0.44. + # 0.28.2 * Linux: Improve CPU usage computation. diff --git a/Cargo.toml b/Cargo.toml index 94fdbd963..9fa41bb82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "sysinfo" -version = "0.28.2" +version = "0.29.0" authors = ["Guillaume Gomez "] description = "Library to get system information such as processes, CPUs, disks, components and networks" repository = "https://github.com/GuillaumeGomez/sysinfo" license = "MIT" readme = "README.md" -rust-version = "1.59" +rust-version = "1.64" exclude = ["/test-unknown"] categories = ["filesystem", "os", "api-bindings"] edition = "2018" diff --git a/README.md b/README.md index b13cce717..6f004ba97 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ You can still use `sysinfo` on non-supported OSes, it'll simply do nothing and a empty values. You can check in your program directly if an OS is supported by checking the [`SystemExt::IS_SUPPORTED`] constant. -The minimum-supported version of `rustc` is **1.59**. +The minimum-supported version of `rustc` is **1.64**. ## Usage