From c5cd236b7380c3689792934aeaecd2942713fa67 Mon Sep 17 00:00:00 2001 From: Bingus Date: Tue, 29 Nov 2022 19:50:58 -0800 Subject: Initial profiling support for Iced. --- Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9c45b2f5..2cedb1b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,14 @@ smol = ["iced_futures/smol"] palette = ["iced_core/palette"] # Enables querying system information system = ["iced_winit/system"] +# Enables tracing with Chrome +trace_chrome = [ + "iced_winit/trace", + "iced_wgpu?/trace", + "iced_glow?/trace", + "iced_glutin?/trace", + "iced_profiling/tracing-chrome" +] [badges] maintenance = { status = "actively-developed" } @@ -51,6 +59,7 @@ members = [ "glow", "glutin", "lazy", + "profiling", "native", "style", "wgpu", @@ -66,6 +75,7 @@ iced_graphics = { version = "0.5", path = "graphics" } iced_winit = { version = "0.6", path = "winit", features = ["application"] } iced_glutin = { version = "0.5", path = "glutin", optional = true } iced_glow = { version = "0.5", path = "glow", optional = true } +iced_profiling = { version = "0.1.0", path = "profiling", optional = true } thiserror = "1.0" [dependencies.image_rs] -- cgit