# 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 = "2021" name = "cgumi" version = "0.0.2" description = "cgumi is yet another crate for interacting with cgroupv2" homepage = "https://github.com/taoky/cgumi" readme = "README.md" license = "MIT" repository = "https://github.com/taoky/cgumi" [[example]] name = "maxmem_systemd" path = "examples/maxmem_systemd/main.rs" required-features = ["systemd"] [dependencies.log] version = "0.4.17" [dependencies.nix] version = "0.26.2" [dependencies.shell-escape] version = "0.1.5" [dependencies.thiserror] version = "1.0.40" [dependencies.zbus] version = "3.13.1" optional = true [dev-dependencies.chrono] version = "0.4.24" [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.test-log] version = "0.2.11" [features] default = ["systemd"] systemd = ["zbus"]