3 releases (breaking)

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

#1967 in Network programming

Download history 542/week @ 2024-07-21 535/week @ 2024-07-28 427/week @ 2024-08-04 483/week @ 2024-08-11 384/week @ 2024-08-18 258/week @ 2024-08-25 456/week @ 2024-09-01 683/week @ 2024-09-08 355/week @ 2024-09-15 408/week @ 2024-09-22 368/week @ 2024-09-29 458/week @ 2024-10-06 486/week @ 2024-10-13 268/week @ 2024-10-20 540/week @ 2024-10-27 518/week @ 2024-11-03

1,837 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.7–3.5MB
~70K SLoC