diff --git a/clovers-cli/Cargo.toml b/clovers-cli/Cargo.toml index 6a90280f..c663f496 100644 --- a/clovers-cli/Cargo.toml +++ b/clovers-cli/Cargo.toml @@ -23,22 +23,22 @@ clovers = { path = "../clovers", features = [ # External blue-noise-sampler = "0.1.0" -clap = { version = "4.5.4", features = ["std", "derive"] } +clap = { version = "4.5.6", features = ["std", "derive"] } human_format = "1.1.0" humantime = "2.1.0" -image = { version = "0.24.9", features = ["png"], default-features = false } +image = { version = "0.25.1", features = ["png"], default-features = false } img-parts = "0.3.0" indicatif = { version = "0.17.8", features = [ "rayon", ], default-features = false } -nalgebra = { version = "0.32.4" } -palette = { version = "0.7.5", features = ["serializing"] } -paste = { version = "1.0.14" } +nalgebra = { version = "0.32.5" } +palette = { version = "0.7.6", features = ["serializing"] } +paste = { version = "1.0.15" } rand = { version = "0.8.5", features = ["small_rng"], default-features = false } rayon = "1.10.0" -serde = { version = "1.0.197", features = ["derive"], default-features = false } +serde = { version = "1.0.203", features = ["derive"], default-features = false } serde_json = { version = "1.0", features = ["alloc"], default-features = false } -time = { version = "0.3.34", default-features = false } +time = { version = "0.3.36", default-features = false } tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["time"] } diff --git a/clovers-cli/src/main.rs b/clovers-cli/src/main.rs index 332ff75a..f9b5a94b 100644 --- a/clovers-cli/src/main.rs +++ b/clovers-cli/src/main.rs @@ -5,7 +5,7 @@ // External imports use clap::Parser; use humantime::format_duration; -use image::{ImageBuffer, ImageOutputFormat, Rgb, RgbImage}; +use image::{ImageBuffer, ImageFormat, Rgb, RgbImage}; use img_parts::png::{Png, PngChunk}; use std::fs::File; use std::io::Cursor; @@ -164,7 +164,7 @@ fn main() -> Result<(), Box> { info!("Writing an image file"); let mut bytes: Vec = Vec::new(); - img.write_to(&mut Cursor::new(&mut bytes), ImageOutputFormat::Png)?; + img.write_to(&mut Cursor::new(&mut bytes), ImageFormat::Png)?; let mut png = Png::from_bytes(bytes.into())?; let comment = if normalmap { diff --git a/clovers/Cargo.toml b/clovers/Cargo.toml index c47539af..1f82e46e 100644 --- a/clovers/Cargo.toml +++ b/clovers/Cargo.toml @@ -18,13 +18,13 @@ std = [] traces = ["tracing"] [dependencies] -enum_dispatch = "0.3.12" -gltf = { version = "1.4.0", optional = true } -nalgebra = { version = "0.32.4" } -palette = { version = "0.7.5", features = ["serializing"] } +enum_dispatch = "0.3.13" +gltf = { version = "1.4.1", optional = true } +nalgebra = { version = "0.32.5" } +palette = { version = "0.7.6", features = ["serializing"] } rand = { version = "0.8.5", features = ["small_rng"], default-features = false } rand_distr = { version = "0.4.3", features = ["std_math"] } -serde = { version = "1.0.197", features = [ +serde = { version = "1.0.203", features = [ "derive", ], default-features = false, optional = true } stl_io = { version = "0.7.0", optional = true }