Skip to content

Commit

Permalink
Maintenance (#75)
Browse files Browse the repository at this point in the history
* update dependencies

* BVH now on crates
  • Loading branch information
bircni committed Apr 5, 2024
1 parent 83b531f commit a45078e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
30 changes: 13 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,58 +27,54 @@ 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
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"

Expand Down
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions src/ui/properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")));

Expand Down

0 comments on commit a45078e

Please sign in to comment.