From 73ff15dc40aaf994f3e8e240c23bb660be71a6cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crozet=20S=C3=A9bastien?= Date: Mon, 1 Mar 2021 15:37:34 +0100 Subject: [PATCH 1/2] Release v0.30.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e57d59b77..85d6f9707 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kiss3d" -version = "0.29.0" +version = "0.30.0" authors = [ "Sébastien Crozet " ] description = "3D graphics engine for Rust." From 058d13d883c53a07a9790e168b5faba4eda6c741 Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Wed, 17 Feb 2021 12:29:46 -0500 Subject: [PATCH 2/2] Add feature to toggle thread support in image --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 85d6f9707..d98df9f26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,9 @@ name = "kiss3d" path = "src/lib.rs" [features] +default = [ "image-threads" ] conrod = [ "conrod_core" ] +image-threads = [ "image/jpeg_rayon" ] [dependencies] @@ -40,7 +42,6 @@ bitflags = "1.2" num-traits = "0.2" nalgebra = "0.25" ncollide3d = "0.28" -image = "0.23" serde = "1" serde_derive = "1" rusttype = { version = "0.8", features = [ "gpu_cache" ] } @@ -48,6 +49,11 @@ instant = { version = "0.1", features = [ "wasm-bindgen" ]} conrod_core = { version = "0.71", features = [ "wasm-bindgen" ], optional = true } glow = "0.7" +[dependencies.image] +version = "0.23" +default-features = false +features = ["gif", "jpeg", "ico", "png", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt", "dds", "farbfeld"] + [target.'cfg(not(target_arch = "wasm32"))'.dependencies] glutin = "0.26"