diff --git a/rust/Cargo.toml b/rust/Cargo.toml index b4249086..cf9f4026 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -13,6 +13,7 @@ resolver = "2" [workspace.package] edition = "2021" license = "MIT" +rust-version = "1.75.0" [profile.release] lto = true diff --git a/rust/README.md b/rust/README.md index 27e18e0d..5b43754c 100644 --- a/rust/README.md +++ b/rust/README.md @@ -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, diff --git a/rust/cpacfinfo/Cargo.toml b/rust/cpacfinfo/Cargo.toml index 1f58bcab..36165605 100644 --- a/rust/cpacfinfo/Cargo.toml +++ b/rust/cpacfinfo/Cargo.toml @@ -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" diff --git a/rust/pv/Cargo.toml b/rust/pv/Cargo.toml index 52c1f7f0..5cd8b44d 100644 --- a/rust/pv/Cargo.toml +++ b/rust/pv/Cargo.toml @@ -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" diff --git a/rust/pv_core/Cargo.toml b/rust/pv_core/Cargo.toml index 4a357dea..98641615 100644 --- a/rust/pv_core/Cargo.toml +++ b/rust/pv_core/Cargo.toml @@ -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" diff --git a/rust/pvapconfig/Cargo.toml b/rust/pvapconfig/Cargo.toml index bf642659..bc2bed69 100644 --- a/rust/pvapconfig/Cargo.toml +++ b/rust/pvapconfig/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Harald Freudenberger "] version = "0.10.0" edition.workspace = true license.workspace = true +rust-version.workspace = true [dependencies] clap = { version ="4.1", features = ["derive", "wrap_help"]} diff --git a/rust/pvattest/Cargo.toml b/rust/pvattest/Cargo.toml index 15d8c4ef..c48340e2 100644 --- a/rust/pvattest/Cargo.toml +++ b/rust/pvattest/Cargo.toml @@ -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"] } diff --git a/rust/pvsecret/Cargo.toml b/rust/pvsecret/Cargo.toml index c5d1129b..4e775e38 100644 --- a/rust/pvsecret/Cargo.toml +++ b/rust/pvsecret/Cargo.toml @@ -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"] }