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 From 4b6d3797d43acb1d78a292a7ec712a0be7c8f6a2 Mon Sep 17 00:00:00 2001 From: bungoboingo Date: Tue, 20 Dec 2022 20:41:09 -0800 Subject: Restructured everything to make profiling a feature of iced_winit. --- Cargo.toml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 2cedb1b6..681aae5e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,13 +39,12 @@ 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", +# Enables chrome traces +chrome-trace = [ + "iced_winit/chrome-trace", "iced_glutin?/trace", - "iced_profiling/tracing-chrome" + "iced_wgpu?/tracing", + "iced_glow?/tracing", ] [badges] @@ -59,7 +58,6 @@ members = [ "glow", "glutin", "lazy", - "profiling", "native", "style", "wgpu", @@ -75,7 +73,6 @@ 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