diff --git a/Cargo.toml b/Cargo.toml index 1ddefe7..39ae1f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,17 +27,14 @@ short_description = "A Raytracer." [dependencies] # error handling -anyhow = "1.0.80" - -# time -chrono = { version = "0.4.34", default-features = false, features = ["clock"] } +anyhow = "1.0.81" # image loading and saving -image = { version = "0.24.9", default-features = false, features = [ +image = { version = "0.25.1", default-features = false, features = [ "png", "jpeg", "tiff", - "openexr", + "exr", ] } # logging @@ -45,40 +42,39 @@ log = "0.4.21" simplelog = "0.12.2" # linear algebra -nalgebra = { version = "0.32.4", features = ["glam022"] } +nalgebra = { version = "0.32.5", features = ["glam022"] } rand = "0.8.5" # obj file loading obj = "0.10.2" # automatic parallelization -rayon = "1.9.0" -bytemuck = { version = "1.14.3", features = ["derive"] } +rayon = "1.10.0" +bytemuck = { version = "1.15.0", features = ["derive"] } # total order for floats ordered-float = "4.2.0" # generic serialization / deserialization serde = { version = "1.0.197", features = ["derive"] } -serde_yaml = "0.9.32" +serde_yaml = "0.9.34" # GUI -eframe = { version = "0.26.2", features = [ +eframe = { version = "0.27.2", features = [ "wgpu", "accesskit", "default_fonts", "wayland", "x11", ], default-features = false } -egui = { version = "0.26.2", features = ["log", "color-hex"] } -egui-wgpu = { version = "0.26.2" } -egui_file = "0.16.3" -egui_extras = { version = "0.26.2", features = ["svg", "image"] } +egui = { version = "0.27.2", features = ["log", "color-hex"] } +egui-wgpu = { version = "0.27.2" } +egui_file = "0.17.0" +egui_extras = { version = "0.27.2", features = ["svg", "image"] } color-hex = "0.2.0" # BVH -# mal schauen wann die version auch auf crates.io ist -bvh = { git = "https://github.com/svenstaro/bvh.git" } +bvh = "0.9.0" rust-i18n = "3.0.1" sys-locale = "0.3.1" diff --git a/src/main.rs b/src/main.rs index b3fd206..dec4dcc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,8 @@ #![allow(clippy::cast_precision_loss)] #![allow(clippy::cast_possible_truncation)] #![allow(clippy::cast_sign_loss)] +//hex-color out of bounds +#![allow(clippy::out_of_bounds_indexing)] extern crate rust_i18n; diff --git a/src/ui/properties.rs b/src/ui/properties.rs index a4ce659..04d76ec 100644 --- a/src/ui/properties.rs +++ b/src/ui/properties.rs @@ -158,6 +158,7 @@ impl Properties { }); } + #[allow(clippy::blocks_in_conditions)] fn skybox_options(&mut self, ui: &mut Ui, scene: &mut Scene) { ui.label(format!("{}:", t!("background")));