Restructured everything to make profiling a feature of iced_winit.

This commit is contained in:
bungoboingo 2022-12-20 20:41:09 -08:00 committed by Héctor Ramón Jiménez
parent c5cd236b73
commit 4b6d3797d4
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
23 changed files with 184 additions and 254 deletions

View file

@ -11,7 +11,8 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]
[features]
trace = ["iced_profiling"]
trace = ["tracing", "tracing-core", "tracing-subscriber"]
chrome-trace = ["trace", "tracing-chrome"]
debug = ["iced_native/debug"]
system = ["sysinfo"]
application = []
@ -38,9 +39,22 @@ path = "../graphics"
version = "0.5"
path = "../futures"
[dependencies.iced_profiling]
version = "0.1.0"
path = "../profiling"
[dependencies.tracing]
version = "0.1.37"
optional = true
features = ["std"]
[dependencies.tracing-core]
version = "0.1.30"
optional = true
[dependencies.tracing-subscriber]
version = "0.3.16"
optional = true
features = ["registry"]
[dependencies.tracing-chrome]
version = "0.7.0"
optional = true
[target.'cfg(target_os = "windows")'.dependencies.winapi]