# 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"
name = "rpm-builder"
version = "0.4.0"
authors = [
    "Daniel Alley <dalley@redhat.com",
    "Rene Richter <richterrettich@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple Rust CLI utility for creating simple RPMs"
homepage = "https://github.com/rpm-rs/rpm-builder"
readme = "README.md"
keywords = [
    "RPM",
    "packaging",
]
categories = [
    "parsing",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/rpm-rs/rpm-builder"

[[package.metadata.generate-rpm.assets]]
source = "target/release/rpm-builder"
dest = "/usr/bin/rpm-builder"
mode = "755"

[[bin]]
name = "rpm-builder"
path = "src/main.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.6"

[dependencies.clap_derive]
version = "4.6"

[dependencies.regex]
version = "1"

[dependencies.rpm]
version = "0.22.0"
features = [
    "zstd-compression",
    "gzip-compression",
    "signature-pgp",
]
default-features = false

[dev-dependencies.assert_cmd]
version = "2.2"

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

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tempdir]
version = "0.3"

[profile.release]
lto = "thin"
strip = "debuginfo"

[profile.rpm]
inherits = "release"
strip = "debuginfo"
