From a80429ac27ee13a3664e87d761ec4dbf67dab118 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 2 Jul 2025 13:54:30 -0600 Subject: [PATCH] Fix compilation with new pkgar --- Cargo.toml | 6 +++--- src/main.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 64ed298944..4e8a6dfaca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] anyhow = "1" libredox = "0.1" -pkgar = "0.1.9" -pkgar-core = "0.1.0" -pkgar-keys = "0.1.0" +pkgar = "0.1.18" +pkgar-core = "0.1.18" +pkgar-keys = "0.1.18" redox_installer = "0.2.34" redox_syscall = "0.5" toml = "0.5.6" diff --git a/src/main.rs b/src/main.rs index 17fe234b08..3e02450ce3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -247,7 +247,7 @@ fn package_files( root_path: &Path, config: &mut Config, files: &mut Vec, -) -> Result<(), pkgar::Error> { +) -> Result<(), anyhow::Error> { //TODO: Remove packages from config where all files are located (and have valid shasum?) config.packages.clear();