Skip to main content

librpm_sys/
lib.rs

1/*
2 * Copyright (C) RustRPM Developers
3 *
4 * Licensed under the Mozilla Public License Version 2.0
5 * Fedora-License-Identifier: MPLv2.0
6 * SPDX-2.0-License-Identifier: MPL-2.0
7 * SPDX-3.0-License-Identifier: MPL-2.0
8 *
9 * This is free software.
10 * For more information on the license, see LICENSE.
11 * For more information on free software, see <https://www.gnu.org/philosophy/free-sw.en.html>.
12 *
13 * This Source Code Form is subject to the terms of the Mozilla Public
14 * License, v. 2.0. If a copy of the MPL was not distributed with this
15 * file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
16 */
17
18//! RPM Package Manager library (i.e. `librpm.so`) low-level FFI bindings
19//! (automatically generated by bindgen)
20//!
21//! This crate isn't intended to be used directly, but instead provides the
22//! low-level binding which is used by the idiomatic librpm crate.
23
24#![doc(html_root_url = "https://rustrpm.org/librpm_sys/")]
25#![allow(
26    non_upper_case_globals,
27    non_camel_case_types,
28    non_snake_case,
29    improper_ctypes,
30    unnecessary_transmutes
31)]
32
33// Bindings to librpm.so and librpmio.so
34include!(concat!(env!("OUT_DIR"), "/binding.rs"));