lxc

Crates.iolxc
lib.rslxc
version0.8.0
sourcesrc
created_at2018-05-22 21:56:19.481864
updated_at2024-04-07 15:54:24.510813
descriptionLinux Containers API
homepage
repositoryhttps://github.com/sanpii/lxc-rs.git
max_upload_size
id66693
size50,538
Sanpi (sanpii)

documentation

https://docs.rs/lxc

README

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.

Commit count: 156

cargo fmt