From 6c94102afc70ce28eee3d17aad997a056aaf9195 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Fri, 11 Oct 2024 19:01:52 -0400 Subject: gltf, wav, and binary codecs --- Cargo.toml | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index fda57ee..9299617 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,20 +1,54 @@ [package] name = "occule" -version = "0.2.1" +version = "0.3.0" edition = "2021" [features] -default = ["jpeg", "lossless"] +default = ["jpeg", "lossless", "gltf", "wav"] jpeg = ["dep:img-parts"] lossless = ["dep:image"] +gltf = ["dep:gltf", "dep:serde", "dep:serde_json", "dep:gltf-json"] +bin = ["dep:serde", "dep:rmp-serde"] +wav = ["dep:hound"] [dependencies] -thiserror = "^1.0" +base64 = "0.22" +thiserror = "1.0" +itertools = "0.13" +num-traits = "0.2" + +[dependencies.rmp-serde] +version = "1.3" +optional = true + +[dependencies.gltf-json] +version = "1.4" +features = ["extras"] +optional = true + +[dependencies.serde] +version = "1.0" +optional = true + +[dependencies.serde_json] +version = "1.0" +features = ["raw_value"] +optional = true [dependencies.img-parts] -version = "0.3.0" +version = "0.3" optional = true [dependencies.image] -version = "0.24" +version = "0.25" +optional = true + +[dependencies.gltf] +version = "1.4" optional = true +features = ["extras"] + +[dependencies.hound] +version = "3.5" +optional = true + -- cgit v1.2.3