rust-criu
provides an interface to use CRIU in the
same way as go-criu does.
The CRIU RPC protobuf bindings are pre-generated and part of the rust-criu repository. The bindings can be re-generated with
$ GENERATE_PROTOBUF=1 cargo build
To run the included tests please use the following command to build rust-criu
:
$ GENERATE_TEST_PROCESS=1 cargo build
$ sudo target/debug/rust-criu-test /path/to/criu/binary