From defb29825e3aacb239dbceb866f15a210d31ff3a Mon Sep 17 00:00:00 2001 From: Gillett Hernandez Date: Wed, 22 May 2024 16:58:47 -0700 Subject: [PATCH] sort deps so that it's easier to scan them --- Cargo.toml | 54 +++++++++++++++++++++---------------------- src/bin/color_test.rs | 1 - 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9afa6de..7bd845c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,56 +13,54 @@ rust_2021_compatibility = "warn" assigning_clones = "deny" [features] -visualize_importance_map = ["minifb"] -preview = ["minifb"] -notification = [] -sort_mesh_aabb_hits = [] -gui = ["eframe", "egui_extras", "egui", "egui_plot", "minifb"] build_raymarch = ["sdfu/ultraviolet", "ultraviolet"] color_grad = ["colorgrad"] -realistic_camera = ["rust_optics"] default = ["realistic_camera", "build_raymarch"] +gui = ["eframe", "egui_extras", "egui", "egui_plot", "minifb"] +notification = [] +preview = ["minifb"] +realistic_camera = ["rust_optics"] +sort_mesh_aabb_hits = [] +visualize_importance_map = ["minifb"] [dependencies] anyhow = "~1.0" +bincode = "~1.3" +colorgrad = { version = "~0.6", optional = true } crossbeam = "~0.8" -smallvec = "~1.13" -log = "~0.4" -log-once = "~0.4" -# simplelog = { git = "https://github.com/zed-industries/simplelog.rs", rev = "bd35550d556cf3498a18757608b616d53ea822d6" } -simplelog = "0.12" +deepsize = "~0.2" +eframe = { version = "~0", optional = true } +egui = { version = "~0", optional = true } +egui_extras = { version = "~0", optional = true } +egui_plot = { version = "~0", optional = true } exr = "~1.72" -png = "~0.17" image = { version = "~0.25", features = ["hdr"] } +log = "~0.4" +log-once = "~0.4" +math = { git = "https://github.com/gillett-hernandez/rust_cg_math", features = [ + "serde", + "deepsize", +] } minifb = { version = "~0.27", optional = true } nalgebra = "~0.32" num_cpus = "~1.16" ordered-float = "~4.2" parking_lot = "~0.12" +paste = "~1.0" pbr = "~1.1" +png = "~0.17" rand = "~0.8" rayon = "~1.10" +rust_optics = { git = "https://github.com/gillett-hernandez/rust_optics", optional = true } +sdfu = { git = "https://github.com/fu5ha/sdfu", optional = true } serde = { version = "~1.0", features = ["derive"] } -bincode = "~1.3" -deepsize = "~0.2" +simplelog = "0.12" +smallvec = "~1.13" +structopt = "~0.3" tobj = "~4.0" toml = "~0.8" -structopt = "~0.3" -paste = "~1.0" -eframe = { version = "~0", optional = true } -egui = { version = "~0", optional = true } -egui_plot = { version = "~0", optional = true } -egui_extras = { version = "~0", optional = true } -sdfu = { git = "https://github.com/fu5ha/sdfu", optional = true } ultraviolet = { version = "~0.8", optional = true } -math = { git = "https://github.com/gillett-hernandez/rust_cg_math", features = [ - "serde", "deepsize" -] } -# math = { git = "https://github.com/gillett-hernandez/rust_cg_math", default-features = false} -rust_optics = { git = "https://github.com/gillett-hernandez/rust_optics", optional = true } -colorgrad = { version = "~0.6", optional = true } -# notify = "~6.1" [target.'cfg(windows)'.dependencies] win32_notification = "~0.1" diff --git a/src/bin/color_test.rs b/src/bin/color_test.rs index 984f89e..261a716 100644 --- a/src/bin/color_test.rs +++ b/src/bin/color_test.rs @@ -14,7 +14,6 @@ use root::tonemap::Tonemapper; #[macro_use] extern crate log; -extern crate simplelog; use crossbeam::channel::{unbounded, Receiver, Sender}; use eframe::egui;