Files
s390-tools/rust/pvattest/Cargo.toml
Steffen Eiden 8929d21948 rust: Upgrade zerocopy dependency to 0.8.X
This enables some const constructors, Dataful Enums,
Dynamically Sized Types and much more.

v0.8 introduces breaking changes including, but not limited to:
  - Rename AsBytes to IntoBytes
  - Fine-grain (derive) Traits that need to be implemented on top.
  - Rename FromZeroes to FromZeros
for which this patch takes care of as well.

Also a direct FromZeros derive is no longer necessary. As it is touched
anyways, remove it where appropriate.

See: https://github.com/google/zerocopy/discussions/1680

Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2025-05-05 17:20:37 +02:00

33 lines
859 B
TOML

[package]
name = "pvattest"
version = "0.11.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
anyhow = { version = "1.0.95", features = ["std"] }
base64 = "0.22.1"
byteorder = "1.5"
clap = { version ="4.5", features = ["derive", "wrap_help"]}
curl = "0.4.47"
log = { version = "0.4.25", features = ["std", "release_max_level_debug"] }
openssl = "0.10.70"
serde = { version = "1.0.217", features = ["derive"]}
serde_json = "1.0"
serde_yaml = "0.9"
zerocopy = { version="0.8", features = ["derive"] }
pv = { path = "../pv", package = "s390_pv" }
utils = { path = "../utils" }
[build-dependencies]
clap = { version ="4.5", features = ["derive", "wrap_help"]}
clap_complete = "4.5"
log = { version = "0.4", features = ["std", "release_max_level_debug"] }
utils = { path = "../utils" }