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 buildTo run the included tests please use the following commands:
GENERATE_TEST_PROCESS=1 cargo build
sudo -E env PATH=$PATH CRIU_BINARY=/path/to/criu/binary cargo test -- --test-threads=1