4 releases (breaking)

0.5.0 Dec 31, 2025
0.4.0 Jan 19, 2023
0.2.0 Jun 22, 2022
0.1.0 Jun 21, 2022

#601 in Network programming

Download history 930/week @ 2025-12-28 1188/week @ 2026-01-04 822/week @ 2026-01-11 1204/week @ 2026-01-18 791/week @ 2026-01-25 1623/week @ 2026-02-01 1205/week @ 2026-02-08 1494/week @ 2026-02-15 2390/week @ 2026-02-22 2071/week @ 2026-03-01 2010/week @ 2026-03-08 1652/week @ 2026-03-15 2503/week @ 2026-03-22 2330/week @ 2026-03-29 1783/week @ 2026-04-05 1899/week @ 2026-04-12

8,678 downloads per month
Used in 8 crates (via libcontainer)

Custom license

250KB
6K 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