Skip to content

Commit

Permalink
Check the minimal rust version for the library only
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-tkach committed Mar 9, 2024
1 parent 73da3a7 commit 4010f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
with:
# Feel free to bump this version if you need features of newer Rust.
# Sync with badge in README.md
toolchain: 1.76.0
toolchain: 1.60.0
profile: minimal
override: true

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --examples --all
args: -p os_info
2 changes: 1 addition & 1 deletion os_info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["os", "os_type", "os_version", "os_info"]
categories = ["os"]
license = "MIT"
edition = "2018"
rust-version = "1.76"
rust-version = "1.60"

[features]
default = ["serde"]
Expand Down

0 comments on commit 4010f5d

Please sign in to comment.