1
0
mirror of https://github.com/containers/youki synced 2024-11-10 11:48:12 +01:00
youki/crates/libcgroups/Cargo.toml
dependabot[bot] 83d3c140ca
chore(deps): bump libc from 0.2.140 to 0.2.141
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.140 to 0.2.141.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.140...0.2.141)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 01:09:59 +00:00

45 lines
1.2 KiB
INI

[package]
name = "libcgroups"
version = "0.0.5"
description = "Library for cgroup"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
homepage = "https://containers.github.io/youki"
readme = "README.md"
authors = ["youki team"]
edition = "2021"
rust-version = "1.58.1"
autoexamples = false
keywords = ["youki", "container", "cgroups"]
[features]
default = ["v1", "v2", "systemd"]
v1 = []
v2 = []
systemd = ["v2", "dep:dbus"]
cgroupsv2_devices = ["rbpf", "libbpf-sys", "errno", "libc"]
[dependencies]
nix = "0.26.2"
procfs = "0.15.1"
log = "0.4"
anyhow = "1.0"
oci-spec = { version = "^0.6.0", features = ["runtime"] }
dbus = { version = "0.9.7", optional = true }
fixedbitset = "0.4.2"
serde = { version = "1.0", features = ["derive"] }
rbpf = {version = "0.1.0", optional = true }
libbpf-sys = { version = "1.1.1", optional = true }
errno = { version = "0.3.0", optional = true }
libc = { version = "0.2.141", optional = true }
[dev-dependencies]
oci-spec = { version = "^0.6.0", features = ["proptests", "runtime"] }
quickcheck = "1"
mockall = { version = "0.11.4", features = [] }
clap = "4.1.6"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
env_logger = "0.10"
serial_test = "2.0.0"