s390-tools/rust: Define MSRV as 1.75.0

Define and set the minimal supported Rust version (MSRV) to 1.75.0. This
is the (current) minimal supported version over all supported distros
that use rust in s390-tools.

Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Steffen Eiden
2024-10-28 13:12:07 +01:00
parent 5e97205530
commit 5751c08627
8 changed files with 9 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ resolver = "2"
[workspace.package]
edition = "2021"
license = "MIT"
rust-version = "1.75.0"
[profile.release]
lto = true

View File

@@ -4,6 +4,8 @@
Please refer to the official documentation to set up a working rust environment:
https://www.rust-lang.org/learn/get-started
The minimum supported Rust version (MSRV) is 1.75.
## Building rust code
### s390-tools build system
If `cargo` is installed a simple `make` should do the job. Note that,

View File

@@ -3,6 +3,7 @@ name = "cpacfinfo"
version = "0.1.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[dependencies]
anyhow = "1.0.71"

View File

@@ -3,6 +3,7 @@ name = "s390_pv"
version = "0.10.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "s390-tools IBM Secure Execution utilities"
keywords = ["s390", "s390x", "IBM_Secure_Execution"]
repository = "https://github.com/ibm-s390-linux/s390-tools/tree/master/rust"

View File

@@ -3,6 +3,7 @@ name = "s390_pv_core"
version = "0.10.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "s390-tools IBM Secure Execution core utilities"
keywords = ["s390", "s390x", "IBM_Secure_Execution"]
repository = "https://github.com/ibm-s390-linux/s390-tools/tree/master/rust"

View File

@@ -5,6 +5,7 @@ authors = ["Harald Freudenberger <freude@linux.ibm.com>"]
version = "0.10.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[dependencies]
clap = { version ="4.1", features = ["derive", "wrap_help"]}

View File

@@ -3,6 +3,7 @@ name = "pvattest"
version = "0.10.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[dependencies]
anyhow = { version = "1.0.70", features = ["std"] }

View File

@@ -3,6 +3,7 @@ name = "pvsecret"
version = "0.10.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[dependencies]
anyhow = { version = "1.0.70", features = ["std"] }