# 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 = "rebuilderd-worker"
version = "0.23.1"
authors = ["kpcyrd <git@rxv.cc>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "rebuilderd - rebuild worker"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/kpcyrd/rebuilderd"

[package.metadata.deb]
assets = [
    [
    "target/release/rebuilderd-worker",
    "usr/bin/",
    "755",
],
    [
    "rebuilder-archlinux.sh",
    "usr/libexec/rebuilderd/",
    "755",
],
    [
    "rebuilder-debian.sh",
    "usr/libexec/rebuilderd/",
    "755",
],
    [
    "../contrib/confs/rebuilderd-worker.conf",
    "etc/",
    "640",
],
    [
    "../contrib/systemd/rebuilderd-worker@.service",
    "usr/lib/systemd/system/",
    "640",
],
]
depends = "$auto, rebuilderd"

[[bin]]
name = "rebuilderd-worker"
path = "src/main.rs"

[dependencies.async-trait]
version = "0.1.56"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.data-encoding]
version = "2"

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3.21"

[dependencies.futures-util]
version = "0.3.21"

[dependencies.in-toto]
version = "0.4"

[dependencies.nix]
version = "0.30"
features = [
    "process",
    "signal",
]

[dependencies.rebuilderd-common]
version = "=0.23.0"

[dependencies.serde]
version = "1.0.137"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.81"

[dependencies.tempfile]
version = "3.3.0"

[dependencies.tokio]
version = "1.19.2"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
    "process",
    "io-std",
    "time",
]

[dependencies.toml]
version = "0.8"

[dependencies.url]
version = "2.2.2"
