Restructured everything to make profiling a feature of iced_winit.
This commit is contained in:
parent
c5cd236b73
commit
4b6d3797d4
23 changed files with 184 additions and 254 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue