rctl 0.4.1

FreeBSD resource limits and accounting with RCTL / RACCT
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 = "2024"
rust-version = "1.85.0"
name = "rctl"
version = "0.4.1"
authors = ["Fabian Freyer <fabian.freyer@physik.tu-berlin.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FreeBSD resource limits and accounting with RCTL / RACCT"
documentation = "https://docs.rs/rctl"
readme = "README.md"
keywords = ["freebsd"]
categories = [
    "os::freebsd-apis",
    "os::unix-apis",
    "api-bindings",
]
license = "BSD-3-Clause"
repository = "https://github.com/fubarnetes/rctl"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-freebsd"]

[badges.is-it-maintained-issue-resolution]
repository = "fubarnetes/rctl"

[badges.is-it-maintained-open-issues]
repository = "fubarnetes/rctl"

[badges.maintenance]
status = "experimental"

[features]
serialize = [
    "serde",
    "serde_json",
]

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

[[example]]
name = "iteration"
path = "examples/iteration.rs"

[[example]]
name = "serialize"
path = "examples/serialize.rs"

[[example]]
name = "usage"
path = "examples/usage.rs"

[dependencies.libc]
version = "0.2.155"

[dependencies.nix]
version = ">=0.28.0, <0.32"
features = [
    "signal",
    "user",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sysctl]
version = ">=0.5.0, < 0.8"

[dependencies.thiserror]
version = ">=1.0.32, <3.0"

[dependencies.unit-prefix]
version = "0.5"