From 7526e41938b6b8e0c3744a27be9ea1b05f82aea8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 9 May 2020 13:08:37 +0200 Subject: [PATCH] project: justify every dependency --- beevee/Cargo.toml | 3 +++ pathtracer/Cargo.toml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/beevee/Cargo.toml b/beevee/Cargo.toml index c3492e6..e7f6c72 100644 --- a/beevee/Cargo.toml +++ b/beevee/Cargo.toml @@ -7,5 +7,8 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +# Linear algebra basic operations and types nalgebra = "0.20" + +# High performance quicksort/quickselect pdqselect = "0.1.0" diff --git a/pathtracer/Cargo.toml b/pathtracer/Cargo.toml index eaaf50b..6bd1df6 100644 --- a/pathtracer/Cargo.toml +++ b/pathtracer/Cargo.toml @@ -19,24 +19,44 @@ name = "pathtracer" path = "src/main.rs" [dependencies] +# Our own BVH implementation beevee = { path = "../beevee" } + +# Macro to implement arithmetic operators automagically derive_more = "0.99.3" + +# Transform interfaces into enums for better performance than dynamic dispatch enum_dispatch = "0.2.1" + +# Save an image to PNG image = "0.23.0" + +# Random implementation, not part of the standard library in Rust rand = "0.7" + +# Parallelism utility functions rayon = "1.3.0" + +# YAML deserialization serde_yaml = "0.8" + +# Command-line argument parsing utilities structopt = "0.3" + +# OBJ format parser tobj = "1.0" +# Fancy terminal progress bar [dependencies.indicatif] version = "0.14" features = ["with_rayon"] +# Linear algebra basic operations and types [dependencies.nalgebra] version = "0.20.0" features = ["serde-serialize"] +# YAML deserialization [dependencies.serde] version = "1.0" features = ["derive"]