Skip to content

Commit

Permalink
Add rust-version to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Jun 15, 2024
1 parent 16c297e commit 608868f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ jobs:

- name: Build
run: cargo make

- name: Install cargo-hack
uses: taiki-e/install-action@47943d5b8d7736809817cbcd80f31e7c7d6538ad #v2.39.1
with:
tool: [email protected]
# See https://doc.rust-lang.org/cargo/guide/continuous-integration.html#verifying-rust-version
- name: Check 'rust-version' compatibility
run: cargo hack check --rust-version --workspace --all-targets --all-features
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "struson"
version = "0.5.0"
authors = ["Marcono1234"]
edition = "2021"
rust-version = "1.75.0"
description = "A low-level streaming JSON reader and writer"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Marcono1234/struson"
Expand Down

0 comments on commit 608868f

Please sign in to comment.