From ccb19be9d0e918070029f31a86c7eb546121bd87 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Mon, 27 May 2024 14:20:08 -0400 Subject: Updated docs --- Cargo.toml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9a471d6..10ab85a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,13 +4,17 @@ version = "0.1.0" edition = "2021" [features] -default = ["jpg", "png", "lossless"] -jpg = [] -png = [] -lossless = [] +default = ["jpeg", "lossless"] +jpeg = ["dep:img-parts"] +lossless = ["dep:image"] [dependencies] -colored = "2.1.0" -image = "0.24" -img-parts = "0.3.0" thiserror = "1.0.61" + +[dependencies.img-parts] +version = "0.3.0" +optional = true + +[dependencies.image] +version = "0.24" +optional = true -- cgit v1.2.3