use serde::{Deserialize, Serialize}; pub mod pacman; #[derive(Debug, Serialize, Deserialize)] pub struct Package { pub id: String, pub version: String, pub explicit: bool } pub trait PackageManager { fn get_installed(&self) -> Vec; fn install(&self, pkgs: Vec); }