# 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.1"
name = "horust"
version = "0.1.13"
authors = ["Federico Ponzi <me@fponzi.me>"]
build = false
include = [
    "src/**/*",
    "Cargo.*",
    "LICENSE.txt",
    "example_services/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A complete supervisor and init system, designed for running in containers."
homepage = "https://github.com/FedericoPonzi/horust"
readme = "README.md"
keywords = [
    "init",
    "container",
    "supervisor",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/FedericoPonzi/horust"
resolver = "2"

[features]
default = ["http-healthcheck"]
http-healthcheck = ["reqwest"]

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

[[bin]]
name = "horust"
path = "src/main.rs"

[dependencies.anyhow]
version = "~1.0"

[dependencies.bytefmt]
version = "0.1.7"

[dependencies.clap]
version = "~4.5"
features = ["derive"]

[dependencies.crossbeam]
version = "~0.8"

[dependencies.env_logger]
version = "~0.11"

[dependencies.horust-commands-lib]
version = "0.1.13"

[dependencies.humantime-serde]
version = "~1.1"

[dependencies.libc]
version = "~0.2"

[dependencies.log]
version = "~0.4"

[dependencies.maplit]
version = "~1.0"

[dependencies.nix]
version = "0.29.0"
features = [
    "process",
    "user",
    "signal",
    "fs",
]

[dependencies.oci-spec]
version = "0.8.3"

[dependencies.reqwest]
version = "~0.13"
features = [
    "blocking",
    "json",
]
optional = true
default-features = false

[dependencies.serde]
version = "~1.0"
features = ["derive"]

[dependencies.shellexpand]
version = "~3.1"

[dependencies.shlex]
version = "~1.3"

[dependencies.thiserror]
version = "~2.0"

[dependencies.toml]
version = "~0.9"

[dev-dependencies.assert_cmd]
version = "~2.1"

[dev-dependencies.predicates]
version = "~3.1"

[dev-dependencies.rand]
version = "~0.9"

[dev-dependencies.tempfile]
version = "~3"

[target.'cfg(target_os = "linux")'.dependencies.libcgroups]
version = "0.5.7"
features = [
    "v1",
    "v2",
]
default-features = false
