1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2021 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0

#![recursion_limit = "256"]

#[macro_use]
extern crate derive_more;

mod apt_cache;
mod apt_get;
mod apt_mark;
mod dpkg;
mod upgrade;
mod utils;

pub mod apt;
pub mod fetch;
pub mod hash;
pub mod lock;
pub mod request;

pub use self::apt_cache::{AptCache, Policies, Policy};
pub use self::apt_get::AptGet;
pub use self::apt_mark::AptMark;
pub use self::dpkg::{Dpkg, DpkgQuery};
pub use self::upgrade::AptUpgradeEvent;