deb_rust/lib.rs
1/*
2 deb-rust - Rust library for building and reading Deb packages
3 Copyright (C) 2023 NotSludgeBomb
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>.
17*/
18
19//! A pure Rust library for building and reading Deb packages.
20//!
21//! deb-rust provides an easy to use, programmatic interface for reading and
22//! writing Deb packages. It currently supports only binary deb packages.
23//!
24//! This documentation is *not* intended to provide an explanation for how the Deb format
25//! works, nor how dpkg understands it. This documentation is only to explain how to interface
26//! with the format using deb-rust. For information on the format itself,
27//! check the [Debian Policy Manual][1]
28//!
29//! [1]: https://www.debian.org/doc/debian-policy/index.html
30
31#[allow(unused)]
32pub mod binary;
33mod shared;
34#[cfg(test)]
35mod test;
36
37pub use shared::*;