rust: Prepare Cargo.toml for crates.io

Renames pv crate to s390_pv and pv_core to s390_pv_core. pv was already
taken on crates.io.

Bump the versions of all crates to 0.10.0. From now on we follow Semver
compatibility rules when it comes to updates. patch-level updates will
not introduce any backwards incompatible changes. For now all crates in
this directory will have the same version number. A version update may,
therefore, not add any new things.

Library users in this repository still use the non prefixed names and
rename the crate in the Cargo.toml. Doc-tests have to use the new name
however.

Add some Cargo metadata to the Cargo.toml.

Acked-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Steffen Eiden
2024-04-05 13:28:04 +02:00
parent 4a76efe6d5
commit 4d57ff046d
17 changed files with 82 additions and 72 deletions

74
rust/Cargo.lock generated
View File

@@ -398,47 +398,16 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "pv"
version = "1.0.0"
dependencies = [
"byteorder",
"curl",
"foreign-types",
"log",
"openssl",
"openssl-sys",
"pv_core",
"serde",
"serde_test",
"thiserror",
"zerocopy",
]
[[package]]
name = "pv_core"
version = "1.0.0"
dependencies = [
"byteorder",
"lazy_static",
"libc",
"log",
"serde",
"serde_test",
"thiserror",
"zerocopy",
]
[[package]]
name = "pvapconfig"
version = "0.9.0"
version = "0.10.0"
dependencies = [
"clap",
"lazy_static",
"openssl",
"pv_core",
"rand",
"regex",
"s390_pv_core",
"serde",
"serde_yaml",
"utils",
@@ -446,12 +415,12 @@ dependencies = [
[[package]]
name = "pvsecret"
version = "0.9.0"
version = "0.10.0"
dependencies = [
"anyhow",
"clap",
"log",
"pv",
"s390_pv",
"serde_yaml",
"utils",
]
@@ -544,6 +513,37 @@ version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
[[package]]
name = "s390_pv"
version = "0.10.0"
dependencies = [
"byteorder",
"curl",
"foreign-types",
"log",
"openssl",
"openssl-sys",
"s390_pv_core",
"serde",
"serde_test",
"thiserror",
"zerocopy",
]
[[package]]
name = "s390_pv_core"
version = "0.10.0"
dependencies = [
"byteorder",
"lazy_static",
"libc",
"log",
"serde",
"serde_test",
"thiserror",
"zerocopy",
]
[[package]]
name = "schannel"
version = "0.1.21"
@@ -672,12 +672,12 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]]
name = "utils"
version = "0.1.0"
version = "0.10.0"
dependencies = [
"clap",
"libc",
"log",
"pv",
"s390_pv",
"serde",
]