Skip to content

Commit

Permalink
msrv: update to 1.64
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Mar 10, 2023
1 parent 724eca5 commit b9b326b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "sysinfo"
version = "0.28.2"
version = "0.29.0"
authors = ["Guillaume Gomez <[email protected]>"]
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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b9b326b

Please sign in to comment.