From 0f8377455c899a93eeb4d17bf80131b139e248bb Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 11 Nov 2023 13:52:58 -0500 Subject: [PATCH] update dependencies --- examples/audio_playback/Cargo.toml | 2 +- examples/balls/Cargo.toml | 2 +- examples/balls_v2/Cargo.toml | 2 +- examples/imgui_integration/Cargo.toml | 2 +- examples/slimed/Cargo.toml | 2 +- examples/template_complicated/Cargo.toml | 2 +- examples/template_minimal/Cargo.toml | 2 +- ggdt/Cargo.toml | 26 +++++++++++------------ ggdt/src/graphics/bitmap/rgb/triangles.rs | 1 + ggdt/src/graphics/color.rs | 1 + ggdt_imgui/Cargo.toml | 2 +- rust-toolchain.toml | 2 +- 12 files changed, 24 insertions(+), 22 deletions(-) diff --git a/examples/audio_playback/Cargo.toml b/examples/audio_playback/Cargo.toml index e9650cb..89f989e 100644 --- a/examples/audio_playback/Cargo.toml +++ b/examples/audio_playback/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "=1.0.55" +anyhow = "=1.0.75" ggdt = { path = "../../ggdt" } diff --git a/examples/balls/Cargo.toml b/examples/balls/Cargo.toml index ffd1880..66cd525 100644 --- a/examples/balls/Cargo.toml +++ b/examples/balls/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "=1.0.55" +anyhow = "=1.0.75" ggdt = { path = "../../ggdt" } diff --git a/examples/balls_v2/Cargo.toml b/examples/balls_v2/Cargo.toml index 1c96725..da850b7 100644 --- a/examples/balls_v2/Cargo.toml +++ b/examples/balls_v2/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "=1.0.55" +anyhow = "=1.0.75" ggdt = { path = "../../ggdt", features = [] } diff --git a/examples/imgui_integration/Cargo.toml b/examples/imgui_integration/Cargo.toml index 5fb22ae..75f1b54 100644 --- a/examples/imgui_integration/Cargo.toml +++ b/examples/imgui_integration/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "=1.0.55" +anyhow = "=1.0.75" ggdt = { path = "../../ggdt" } ggdt_imgui = { path = "../../ggdt_imgui" } imgui = "0.11.0" diff --git a/examples/slimed/Cargo.toml b/examples/slimed/Cargo.toml index c2744ec..e236630 100644 --- a/examples/slimed/Cargo.toml +++ b/examples/slimed/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "=1.0.55" +anyhow = "=1.0.75" ggdt = { path = "../../ggdt", features = [] } serde = { version = "1.0.136", features = ["derive"] } serde_json = "1.0.79" diff --git a/examples/template_complicated/Cargo.toml b/examples/template_complicated/Cargo.toml index 243347b..c69fa74 100644 --- a/examples/template_complicated/Cargo.toml +++ b/examples/template_complicated/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "=1.0.55" +anyhow = "=1.0.75" ggdt = { path = "../../ggdt" } diff --git a/examples/template_minimal/Cargo.toml b/examples/template_minimal/Cargo.toml index 2422001..f509d06 100644 --- a/examples/template_minimal/Cargo.toml +++ b/examples/template_minimal/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "=1.0.55" +anyhow = "=1.0.75" ggdt = { path = "../../ggdt" } diff --git a/ggdt/Cargo.toml b/ggdt/Cargo.toml index fabe646..2509c2a 100644 --- a/ggdt/Cargo.toml +++ b/ggdt/Cargo.toml @@ -6,18 +6,18 @@ authors = ["Gered King "] edition = "2021" [dependencies] -byte-slice-cast = "1.2.1" -byteorder = "1.4.3" -thiserror = "=1.0.30" +byte-slice-cast = "1.2.2" +byteorder = "1.5.0" +thiserror = "=1.0.50" rand = "0.8.5" -num = "0.4.0" -num-derive = "0.3.3" -num-traits = "0.2.15" -bitflags = "2.1.0" -flate2 = "1.0.25" +num = "0.4.1" +num-derive = "0.4.1" +num-traits = "0.2.17" +bitflags = "2.4.1" +flate2 = "1.0.28" crc32fast = "1.3.2" -serde = { version = "1.0.136", features = ["derive"] } -serde_json = "1.0.79" +serde = { version = "1.0.192", features = ["derive"] } +serde_json = "1.0.108" [target.'cfg(not(windows))'.dependencies] sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] } @@ -27,9 +27,9 @@ sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a9 [dev-dependencies] claim = "0.5.0" -criterion = "0.4.0" -anyhow = "=1.0.55" -tempfile = "3.4.0" +criterion = "0.5.1" +anyhow = "=1.0.75" +tempfile = "3.8.1" [[bench]] name = "bitmap" diff --git a/ggdt/src/graphics/bitmap/rgb/triangles.rs b/ggdt/src/graphics/bitmap/rgb/triangles.rs index 89657f2..584f376 100644 --- a/ggdt/src/graphics/bitmap/rgb/triangles.rs +++ b/ggdt/src/graphics/bitmap/rgb/triangles.rs @@ -1,4 +1,5 @@ use std::simd; +use std::simd::{SimdFloat, SimdUint}; use crate::graphics::{edge_function, per_pixel_triangle_2d, BlendFunction, RgbaBitmap, RGBA}; use crate::math::Vector2; diff --git a/ggdt/src/graphics/color.rs b/ggdt/src/graphics/color.rs index 53be18a..8133c37 100644 --- a/ggdt/src/graphics/color.rs +++ b/ggdt/src/graphics/color.rs @@ -1,5 +1,6 @@ use std::ops::{Mul, MulAssign}; use std::simd; +use std::simd::{SimdFloat, SimdUint}; use byteorder::{ReadBytesExt, WriteBytesExt}; diff --git a/ggdt_imgui/Cargo.toml b/ggdt_imgui/Cargo.toml index f59e5ad..81d1209 100644 --- a/ggdt_imgui/Cargo.toml +++ b/ggdt_imgui/Cargo.toml @@ -10,4 +10,4 @@ edition = "2021" [dependencies] ggdt = { path = "../ggdt" } imgui = { version = "0.11.0", features = ["docking"] } -thiserror = "=1.0.30" +thiserror = "=1.0.50" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index fc7dedf..c7c86e4 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -4,4 +4,4 @@ # necessarily see a reason to keep using whatever nightly version is the latest, and would # prefer stick with versions that appear to be stable and just periodically do manual updates # here to get *some* peace of mind in terms of build stability. -channel = "nightly-2023-05-30" \ No newline at end of file +channel = "nightly-2023-11-10" \ No newline at end of file