From e337741969160603f06a7f2b30cda375eeef99fb Mon Sep 17 00:00:00 2001 From: Micha White Date: Thu, 20 Oct 2022 20:16:42 -0400 Subject: More profiling and error logging --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index c07a785..01c5738 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,13 +16,15 @@ cgmath = "0.18" image = "0.24" texture_packer = "0.24" profiling = "1" -tracy-client = "0.14" +tracy-client = { version = "0.14", optional = true } +dhat = "0.3" [lib] crate-type = ["cdylib", "lib"] [features] -profile-with-tracy = ["profiling/profile-with-tracy"] +dhat = [] +profile-with-tracy = ["tracy-client", "profiling/profile-with-tracy"] [[example]] name = "black" -- cgit v1.2.3