3 releases (breaking)

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

#1983 in Network programming

Download history 375/week @ 2024-09-18 410/week @ 2024-09-25 483/week @ 2024-10-02 323/week @ 2024-10-09 444/week @ 2024-10-16 305/week @ 2024-10-23 702/week @ 2024-10-30 412/week @ 2024-11-06 1395/week @ 2024-11-13 553/week @ 2024-11-20 400/week @ 2024-11-27 892/week @ 2024-12-04 772/week @ 2024-12-11 1100/week @ 2024-12-18 1014/week @ 2024-12-25 591/week @ 2025-01-01

3,540 downloads per month
Used in 5 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.9–4MB
~73K SLoC