From ef402d1a1dfe417907f2379cab88c2e3b245ac4c Mon Sep 17 00:00:00 2001 From: Matteo Paonessa Date: Sat, 20 Jul 2024 11:09:53 +0200 Subject: [PATCH] convert function return value hotfix --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5390e9a..a81c940 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libcaesium" -version = "0.16.0" +version = "0.16.1" authors = ["Matteo Paonessa "] edition = "2021" categories = ["multimedia::images"] diff --git a/src/lib.rs b/src/lib.rs index 00f608f..cf8eab8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -330,7 +330,7 @@ pub fn compress_to_size( Ok(()) } -pub fn convert(input_path: String, output_path: String, parameters: &CSParameters, format: SupportedFileTypes) -> Result<(), CaesiumError> { +pub fn convert(input_path: String, output_path: String, parameters: &CSParameters, format: SupportedFileTypes) -> error::Result<()> { let file_type = get_filetype_from_path(&input_path);