# 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" rust-version = "1.75.0" name = "rpm" version = "0.16.0" authors = [ "René Richter ", "Bernhard Schuster ", "Max Dymond ", "Daniel Alley ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A pure rust library for building and parsing RPMs" homepage = "https://github.com/rpm-rs/rpm" readme = "README.md" keywords = [ "RPM", "packaging", ] categories = [ "parsing", "development-tools", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/rpm-rs/rpm" [lib] name = "rpm" path = "src/lib.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "parsing" path = "tests/parsing.rs" [[test]] name = "rpm-compat-tests" path = "tests/compat.rs" required-features = ["test-with-podman"] [[test]] name = "signatures" path = "tests/signatures.rs" required-features = ["signature-meta"] [dependencies.bitflags] version = "2" [dependencies.bzip2] version = "0.4.4" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.cpio] version = "0.4" [dependencies.digest] version = "0.10" [dependencies.enum-display-derive] version = "0.1" [dependencies.enum-primitive-derive] version = "0.3" [dependencies.flate2] version = "1" optional = true [dependencies.hex] version = "0.4" features = ["std"] [dependencies.itertools] version = "0.13" [dependencies.log] version = "0.4" [dependencies.md-5] version = "0.10" [dependencies.nom] version = "7" [dependencies.num] version = "0.4" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.pgp] version = "0.14.0" optional = true [dependencies.sha1] version = "0.10" [dependencies.sha2] version = "0.10" [dependencies.thiserror] version = "2" [dependencies.xz2] version = "0.1" optional = true [dependencies.zstd] version = "0.13" optional = true [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.gethostname] version = "0.5" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.pretty_assertions] version = "1.3" [dev-dependencies.serial_test] version = "3.0" [features] bzip2-compression = ["bzip2"] default = [ "signature-pgp", "gzip-compression", "zstd-compression", "xz-compression", ] gzip-compression = ["flate2"] signature-meta = [] signature-pgp = [ "signature-meta", "pgp", "chrono", ] test-with-podman = ["signature-pgp"] xz-compression = ["xz2"] zstd-compression = ["zstd"] zstdmt = [ "zstd-compression", "zstd/zstdmt", ]