3 releases (breaking)

0.4.0 Jan 19, 2023
0.2.0 Jun 22, 2022
0.1.0 Jun 21, 2022

#1905 in Network programming

Download history 704/week @ 2024-06-17 610/week @ 2024-06-24 555/week @ 2024-07-01 773/week @ 2024-07-08 732/week @ 2024-07-15 508/week @ 2024-07-22 495/week @ 2024-07-29 462/week @ 2024-08-05 479/week @ 2024-08-12 347/week @ 2024-08-19 279/week @ 2024-08-26 424/week @ 2024-09-02 683/week @ 2024-09-09 362/week @ 2024-09-16 415/week @ 2024-09-23 364/week @ 2024-09-30

1,844 downloads per month
Used in 4 crates (via libcontainer)

Custom license

230KB
5.5K SLoC

crates.io ci

rust-criu

rust-criu provides an interface to use CRIU in the same way as go-criu does.

Generate protobuf bindings

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

Run tests

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

Dependencies

~1.8–4MB
~70K SLoC