1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
youki/crates/libcgroups/Cargo.toml

46 lines
1.3 KiB
INI
Raw Permalink Normal View History

2021-08-01 22:49:31 +02:00
[package]
2021-10-21 15:57:27 +02:00
name = "libcgroups"
version = "0.4.1" # MARK: Version
description = "Library for cgroup"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
homepage = "https://youki-dev.github.io/youki/"
readme = "README.md"
authors = ["youki team"]
2021-10-23 16:32:47 +02:00
edition = "2021"
rust-version = "1.58.1"
autoexamples = true
keywords = ["youki", "container", "cgroups"]
2021-08-01 22:49:31 +02:00
[features]
2021-11-30 22:42:12 +01:00
default = ["v1", "v2", "systemd"]
v1 = []
v2 = []
systemd = ["v2", "nix/socket", "nix/uio"]
cgroupsv2_devices = ["rbpf", "libbpf-sys", "errno", "libc", "nix/dir"]
2021-08-01 22:49:31 +02:00
[dependencies]
nix = { version = "0.28.0", features = ["signal", "user", "fs"] }
procfs = "0.16.0"
Bump the patch group across 1 directory with 7 updates Bumps the patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [oci-spec](https://github.com/containers/oci-spec-rs) | `0.7.0` | `0.7.1` | | [serde](https://github.com/serde-rs/serde) | `1.0.214` | `1.0.215` | | [libc](https://github.com/rust-lang/libc) | `0.2.161` | `0.2.162` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.91` | `1.0.93` | | [wasmtime](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` | | [wasi-common](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` | | [tar](https://github.com/alexcrichton/tar-rs) | `0.4.42` | `0.4.43` | Updates `oci-spec` from 0.7.0 to 0.7.1 - [Release notes](https://github.com/containers/oci-spec-rs/releases) - [Changelog](https://github.com/youki-dev/oci-spec-rs/blob/main/release.md) - [Commits](https://github.com/containers/oci-spec-rs/compare/v0.7.0...v0.7.1) Updates `serde` from 1.0.214 to 1.0.215 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215) Updates `libc` from 0.2.161 to 0.2.162 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.162/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162) Updates `anyhow` from 1.0.91 to 1.0.93 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.91...1.0.93) Updates `wasmtime` from 26.0.0 to 26.0.1 - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1) Updates `wasi-common` from 26.0.0 to 26.0.1 - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1) Updates `tar` from 0.4.42 to 0.4.43 - [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.42...0.4.43) --- updated-dependencies: - dependency-name: oci-spec dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: wasmtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: wasi-common dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: tar dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 01:44:12 +01:00
oci-spec = { version = "~0.7.1", features = ["runtime"] }
fixedbitset = "0.5.7"
2021-08-01 22:49:31 +02:00
serde = { version = "1.0", features = ["derive"] }
rbpf = { version = "0.3.0", optional = true }
libbpf-sys = { version = "1.5.0", optional = true }
errno = { version = "0.3.9", optional = true }
Bump the patch group across 1 directory with 7 updates Bumps the patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [oci-spec](https://github.com/containers/oci-spec-rs) | `0.7.0` | `0.7.1` | | [serde](https://github.com/serde-rs/serde) | `1.0.214` | `1.0.215` | | [libc](https://github.com/rust-lang/libc) | `0.2.161` | `0.2.162` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.91` | `1.0.93` | | [wasmtime](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` | | [wasi-common](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` | | [tar](https://github.com/alexcrichton/tar-rs) | `0.4.42` | `0.4.43` | Updates `oci-spec` from 0.7.0 to 0.7.1 - [Release notes](https://github.com/containers/oci-spec-rs/releases) - [Changelog](https://github.com/youki-dev/oci-spec-rs/blob/main/release.md) - [Commits](https://github.com/containers/oci-spec-rs/compare/v0.7.0...v0.7.1) Updates `serde` from 1.0.214 to 1.0.215 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215) Updates `libc` from 0.2.161 to 0.2.162 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.162/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162) Updates `anyhow` from 1.0.91 to 1.0.93 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.91...1.0.93) Updates `wasmtime` from 26.0.0 to 26.0.1 - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1) Updates `wasi-common` from 26.0.0 to 26.0.1 - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1) Updates `tar` from 0.4.42 to 0.4.43 - [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.42...0.4.43) --- updated-dependencies: - dependency-name: oci-spec dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: wasmtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: wasi-common dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: tar dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 01:44:12 +01:00
libc = { version = "0.2.162", optional = true }
thiserror = "2.0.3"
tracing = { version = "0.1.40", features = ["attributes"] }
2021-08-01 22:49:31 +02:00
[dev-dependencies]
Adopt `thiserror` for libcgroups (#1872) * convert systemd controllers to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * finish systemd manager except for the CgroupManager impl Signed-off-by: squili <74628488+squili@users.noreply.github.com> * refactor controller traits to be internal Signed-off-by: squili <74628488+squili@users.noreply.github.com> * convert v1 controllers to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * convert v2 controllers to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * make StatsProvider an internal trait Signed-off-by: squili <74628488+squili@users.noreply.github.com> * replace v1 stats provider anyhow with thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * remove anyhow from v2 stats providers Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix lints Signed-off-by: squili <74628488+squili@users.noreply.github.com> * get rid of doc test error Signed-off-by: squili <74628488+squili@users.noreply.github.com> * convert managers from anyhow to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix lints Signed-off-by: squili <74628488+squili@users.noreply.github.com> * get rid of the rest of the references to anyhow Signed-off-by: squili <74628488+squili@users.noreply.github.com> * AnyManager -> AnyCgroupManager Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix formatting Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix lint in libcgroups devices Signed-off-by: squili <74628488+squili@users.noreply.github.com> --------- Signed-off-by: squili <74628488+squili@users.noreply.github.com>
2023-05-03 07:59:55 +02:00
anyhow = "1.0"
Bump the patch group across 1 directory with 7 updates Bumps the patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [oci-spec](https://github.com/containers/oci-spec-rs) | `0.7.0` | `0.7.1` | | [serde](https://github.com/serde-rs/serde) | `1.0.214` | `1.0.215` | | [libc](https://github.com/rust-lang/libc) | `0.2.161` | `0.2.162` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.91` | `1.0.93` | | [wasmtime](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` | | [wasi-common](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` | | [tar](https://github.com/alexcrichton/tar-rs) | `0.4.42` | `0.4.43` | Updates `oci-spec` from 0.7.0 to 0.7.1 - [Release notes](https://github.com/containers/oci-spec-rs/releases) - [Changelog](https://github.com/youki-dev/oci-spec-rs/blob/main/release.md) - [Commits](https://github.com/containers/oci-spec-rs/compare/v0.7.0...v0.7.1) Updates `serde` from 1.0.214 to 1.0.215 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215) Updates `libc` from 0.2.161 to 0.2.162 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.162/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162) Updates `anyhow` from 1.0.91 to 1.0.93 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.91...1.0.93) Updates `wasmtime` from 26.0.0 to 26.0.1 - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1) Updates `wasi-common` from 26.0.0 to 26.0.1 - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1) Updates `tar` from 0.4.42 to 0.4.43 - [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.42...0.4.43) --- updated-dependencies: - dependency-name: oci-spec dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: wasmtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: wasi-common dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: tar dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 01:44:12 +01:00
oci-spec = { version = "~0.7.1", features = ["proptests", "runtime"] }
2021-08-01 22:49:31 +02:00
quickcheck = "1"
mockall = { version = "0.13.0", features = [] }
clap = "4.1.6"
2021-08-20 05:03:07 +02:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
env_logger = "0.11"
serial_test = "3.1.1"
tempfile = "3"