libkrun
libkrun copied to clipboard
Rust API
This PR adds a rudimentary Rust API for using libkrun. The idea is to make this new API the main one. The C API would use it entirely once this is done.
Ultimately, this new API should prevent unrepresentable states and allow usage from Rust in an ergonomic manner.
I am looking for early feedback before I continue my work. I'm trying not to touch much outside of the API surface (keeping other changes for when/if this PR is accepted).
Is the team open to this kind of change?