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. --- glow/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'glow/Cargo.toml') diff --git a/glow/Cargo.toml b/glow/Cargo.toml index f586d24d..6c150a74 100644 --- a/glow/Cargo.toml +++ b/glow/Cargo.toml @@ -8,6 +8,7 @@ license = "MIT AND OFL-1.1" repository = "https://github.com/iced-rs/iced" [features] +trace = ["iced_profiling"] svg = ["iced_graphics/svg"] image = ["iced_graphics/image"] png = ["iced_graphics/png"] @@ -42,6 +43,11 @@ version = "0.5" path = "../graphics" features = ["font-fallback", "font-icons", "opengl"] +[dependencies.iced_profiling] +version = "0.1.0" +path = "../profiling" +optional = true + [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] all-features = true -- 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. --- glow/Cargo.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'glow/Cargo.toml') diff --git a/glow/Cargo.toml b/glow/Cargo.toml index 6c150a74..c126a511 100644 --- a/glow/Cargo.toml +++ b/glow/Cargo.toml @@ -8,7 +8,6 @@ license = "MIT AND OFL-1.1" repository = "https://github.com/iced-rs/iced" [features] -trace = ["iced_profiling"] svg = ["iced_graphics/svg"] image = ["iced_graphics/image"] png = ["iced_graphics/png"] @@ -43,9 +42,8 @@ version = "0.5" path = "../graphics" features = ["font-fallback", "font-icons", "opengl"] -[dependencies.iced_profiling] -version = "0.1.0" -path = "../profiling" +[dependencies.tracing] +version = "0.1.6" optional = true [package.metadata.docs.rs] -- cgit