Skip to content

Commit

Permalink
Merge pull request #3 from Icelk/dependabot/cargo/image-0.25
Browse files Browse the repository at this point in the history
Update image requirement from 0.24 to 0.25
  • Loading branch information
Icelk authored Mar 23, 2024
2 parents 9c58c1a + 4b1f50d commit a85c404
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ path = "src/bin/main.rs"
required-features = ["bin"]

[dependencies]
image = { version = "0.24", default-features = false }
image = { version = "0.25", default-features = false }
rand = { version = "0.8", features = ["small_rng"] }
watch = { version = "0.2", features = ["parking_lot"] }

Expand Down
2 changes: 1 addition & 1 deletion src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn write_image(encoder: impl image::ImageEncoder, image: DynamicImage) {
image.as_bytes(),
image.width(),
image.height(),
image.color(),
image.color().into(),
)
.unwrap();
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ pub mod config {
}
#[must_use]
#[inline(always)]
#[allow(clippy::doc_markdown)]
pub fn poisson_saturne(delta: Vec3, screen_space: Vec3, coeffs: &View) -> f64 {
#[inline(always)]
fn part(p: Vec3, coeffs: &View) -> f64 {
Expand Down Expand Up @@ -1014,6 +1015,7 @@ impl<A: Attractor + Send + Sync + 'static, T: ColorTransform> ParallelRenderer<A
self.threads.len()
}
/// Wait for all threads to finish.
#[allow(clippy::missing_panics_doc)]
pub fn shutdown(self) {
self.job_sender.send(None);
self.threads
Expand Down

0 comments on commit a85c404

Please sign in to comment.