oci-spec-rs
oci-spec-rs copied to clipboard
Add features structure type
related to: https://github.com/containers/youki/pull/2837
This PR adds Features based on the specs-go implementation in the runtime spec. That's supposed to be used by features subcommand of runtime and will replace the local type defined in the runtime such as youki.
TODO
- [x] Add tests for required fields.
- [ ] Add tests for all fields including optional ones