Files
s390-tools/rust/pv_core
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
..
2024-11-22 17:18:37 +01:00

s390_pv_core - basic library for pv-tools

This library is intended to be used by tools and libraries that are used for creating and managing IBM Secure Execution guests. s390_pv_core provides abstraction layers for secure memory management, logging, and accessing the uvdevice.

If your project is not targeted to provide tooling for and/or managing of IBM Secure execution guests, do not use this crate.

It does not provide any cryptographic operations through OpenSSL. For this use s390_pv which reexports all symbols from this crate. If your project uses s390_pv crate do not include s390_pv_core as well.

Import crate

The recommended way of importing this crate is:

cargo add s390_pv_core --rename pv_core