libkrun icon indicating copy to clipboard operation
libkrun copied to clipboard

Rust API

Open jeromegn opened this issue 2 weeks ago • 5 comments

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?

jeromegn avatar Dec 28 '25 20:12 jeromegn