librpm 0.2.1

RPM Package Manager library binding with an idiomatic Rust API
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"
name = "librpm"
version = "0.2.1"
authors = [
    "Tony Arcieri <tony@iqlusion.io>",
    "Daniel Alley <dalley@redhat.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RPM Package Manager library binding with an idiomatic Rust API"
homepage = "https://github.com/rpm-software-management/librpm.rs/"
documentation = "https://docs.rs/crate/librpm"
readme = "README.md"
keywords = [
    "rpm",
    "linux",
    "redhat",
    "fedora",
    "centos",
]
categories = [
    "api-bindings",
    "os",
    "parsing",
]
license = "MPL-2.0"

[features]
default = ["sign"]
sign = ["dep:librpmsign-sys"]
test-current-system = []

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "test-centos-stream-10"
path = "tests/test-centos-stream-10.rs"

[[test]]
name = "test-centos-stream-9"
path = "tests/test-centos-stream-9.rs"

[[test]]
name = "test-current-system"
path = "tests/test-current-system.rs"

[[test]]
name = "test-fedora-44"
path = "tests/test-fedora-44.rs"

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

[dependencies.librpm-sys]
version = "0.2.1"

[dependencies.librpmbuild-sys]
version = "0.2.1"
optional = true

[dependencies.librpmsign-sys]
version = "0.2.1"
optional = true

[dependencies.streaming-iterator]
version = "0.1.5"

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

[lints.rust]
unexpected_cfgs = "allow"