cgroups-rs 0.5.1

Native Rust crate for managing control groups on Linux
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "cgroups-rs"
version = "0.5.1"
authors = [
    "The Kata Containers community <kata-dev@lists.katacontainers.io>",
    "Levente Kurusa <lkurusa@acm.org>",
    "Sam Wilson <tecywiz121@hotmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Rust crate for managing control groups on Linux"
homepage = "https://github.com/kata-containers/cgroups-rs"
readme = "README.md"
keywords = [
    "linux",
    "cgroup",
    "containers",
    "isolation",
]
categories = [
    "os",
    "api-bindings",
    "os::unix-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kata-containers/cgroups-rs"

[features]
default = []
oci = ["oci-spec"]

[lib]
name = "cgroups_rs"
path = "src/lib.rs"

[[test]]
name = "builder"
path = "tests/builder.rs"

[[test]]
name = "cgroup"
path = "tests/cgroup.rs"

[[test]]
name = "cpu"
path = "tests/cpu.rs"

[[test]]
name = "cpuset"
path = "tests/cpuset.rs"

[[test]]
name = "devices"
path = "tests/devices.rs"

[[test]]
name = "hugetlb"
path = "tests/hugetlb.rs"

[[test]]
name = "memory"
path = "tests/memory.rs"

[[test]]
name = "pids"
path = "tests/pids.rs"

[[test]]
name = "resources"
path = "tests/resources.rs"

[dependencies.bit-vec]
version = "0.6"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.25.0"
features = [
    "event",
    "fs",
    "process",
]
default-features = false

[dependencies.oci-spec]
version = "0.10.0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.zbus]
version = "5.8"

[dev-dependencies.libc]
version = "0.2.76"

[dev-dependencies.nix]
version = "0.25"

[dev-dependencies.rand]
version = "0.8"