/*
* Copyright (C) RustRPM Developers
*
* Licensed under the Mozilla Public License Version 2.0
* Fedora-License-Identifier: MPLv2.0
* SPDX-2.0-License-Identifier: MPL-2.0
* SPDX-3.0-License-Identifier: MPL-2.0
*
* This is free software.
* For more information on the license, see LICENSE.
* For more information on free software, see <https://www.gnu.org/philosophy/free-sw.en.html>.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
*/
// Forward librpm constant availability as cfg flags.
//
// librpm-sys (links = "rpm") scans its bindgen output and emits Cargo metadata
// for every rpmTag / rpmSigTag constant found in the system headers. Cargo
// surfaces these as DEP_RPM_<KEY> environment variables here. We re-export each
// one as a rustc-cfg so that enum variants in tag.rs can be gated with e.g.
// #[cfg(has_rpmtag_payloadsha3_256)], allowing the crate to build against older
// librpm versions that lack newer constants.