12 releases (7 breaking)

0.8.0 Apr 7, 2024
0.7.0 Jun 21, 2023
0.6.0 Jul 21, 2021
0.5.0 Feb 4, 2021
0.2.1 Jun 14, 2018

#1100 in Data structures

MIT license

38KB
768 lines

LXC

Build Status

Crate to play with LXC container in rust.

Usage

Add it to your dependencies:

$ cargo add lxc

You also need the lxc C development files and clang:

# Archlinux
$ sudo pacman -S lxc clang llvm

# Debian/Ubuntu
$ sudo apt install lxc-dev clang llvm

# Fedora
$ sudo dnf install lxc-devel clang llvm

See demo.rs for a complete example.

Dependencies

~0–2MB
~38K SLoC