cncf-tags / container-device-interface-rs

Rust implementation of the Container Device Interface: https://github.com/cncf-tags/container-device-interface
Apache License 2.0
5 stars 6 forks source link

Refactor and Bugfix #17

Closed Apokleos closed 4 months ago

Apokleos commented 4 months ago

bugfix and warning fix: fix bugs and format code

(1) Do cargo fmt & clippy to make CI happy. (2) In this patchset, two bugs will be addressed, one is for fixing previous implementation of CDI Spec and ContainerEdits, the other is for fixing the validation version of CDI Spec.

cdi-inject: implement cdi inject This focus on the implementation of cdi inject which enable cdi to inject devices into OCI Spec.

Signed-off-by: Alex Lyn alex.lyn@antgroup.com