From 1746026af8c95795693018525efba06ad1fcff0c Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 3 Nov 2023 20:58:51 +0100 Subject: [PATCH] Declare use within feature flag related part --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 523a503..dab6d8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,6 @@ use sha256::digest; use crate::cli::{Cli, SubCommand}; use crate::model::onkostar_editor::OnkostarEditor; use crate::profile::Profile; -use crate::unzip_osb::unzip_osb_using_password; mod cli; mod model; @@ -264,7 +263,7 @@ fn main() -> Result<(), Box> { password, dir, } => { - use crate::unzip_osb::unzip_osb; + use crate::unzip_osb::{unzip_osb, unzip_osb_using_password}; match password { Some(password) => unzip_osb_using_password( file.as_str(),