Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# cgroups-rs ![Build](https://travis-ci.org/kata-containers/cgroups-rs.svg?branch=master)
Native Rust library for managing control groups under Linux
# cgroups-rs

Both v1 and v2 of cgroups are supported.
[![Crate](https://img.shields.io/crates/v/cgroups-rs.svg)](https://crates.io/crates/cgroups-rs)

# Examples
Native Rust library for managing Linux control groups. Supports both cgroups v1 and v2.

## Create a control group using the builder pattern

``` rust
## Examples

### Create a control group using the builder pattern

```rust
use cgroups_rs::*;
use cgroups_rs::cgroup_builder::*;

Expand Down Expand Up @@ -44,7 +43,7 @@ cg.delete();
// major version change.
```

# Disclaimer
## Disclaimer

This crate is licensed under:

Expand Down
Loading