3 releases (breaking)

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

#110 in #rpc

Download history 485/week @ 2024-11-21 539/week @ 2024-11-28 868/week @ 2024-12-05 758/week @ 2024-12-12 1019/week @ 2024-12-19 1048/week @ 2024-12-26 694/week @ 2025-01-02 647/week @ 2025-01-09 993/week @ 2025-01-16 754/week @ 2025-01-23 910/week @ 2025-01-30 1004/week @ 2025-02-06 972/week @ 2025-02-13 1297/week @ 2025-02-20 926/week @ 2025-02-27 845/week @ 2025-03-06

4,115 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