Skip to content

Commit

Permalink
pacpreview 0.4.0
Browse files Browse the repository at this point in the history
Bump alpm for pacman compatibility.
Bump other dependencies to latest versions.
  • Loading branch information
TheCycoONE committed May 14, 2024
1 parent a815e62 commit e72a856
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 20 deletions.
32 changes: 19 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pacpreview"
version = "0.3.1"
version = "0.4.0"
authors = ["Stephen E. Baker <[email protected]>"]
edition = "2021"

Expand All @@ -12,9 +12,9 @@ keywords = ["pacman","archlinux"]
categories = ["command-line-utilities"]

[dependencies]
alpm = "2.2.1"
pacmanconf = "2.0.0"
termcolor = "1.2"
alpm = "3.0.5"
pacmanconf = "2.1.0"
termcolor = "1.4.1"
textwrap = { version = "~0.16.0", features = ["terminal_size"] }

[features]
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use types::{DepInstalled, Installed};

/// pacman package information from the syncdb, as well as the local package if it is installed.
struct PackageExtra<'alpm> {
sync_pkg: Package<'alpm>,
local_pkg: Option<Package<'alpm>>,
sync_pkg: &'alpm Package,
local_pkg: Option<&'alpm Package>,
}

fn main() {
Expand Down Expand Up @@ -81,7 +81,7 @@ fn print_package_details(out: &mut Output, alpm: &Alpm, pkg: &PackageExtra) -> s
fn print_dep_list(
out: &mut Output,
alpm: &Alpm,
dep_list: AlpmList<Dep>,
dep_list: AlpmList<&Dep>,
header: &str,
) -> std::io::Result<()> {
out.print_section_header(header)?;
Expand Down

0 comments on commit e72a856

Please sign in to comment.