diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gradient/Cargo.toml | 5 | ||||
-rw-r--r-- | examples/gradient/src/main.rs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/examples/gradient/Cargo.toml b/examples/gradient/Cargo.toml index 2dea2c4f..8102b866 100644 --- a/examples/gradient/Cargo.toml +++ b/examples/gradient/Cargo.toml @@ -5,4 +5,7 @@ edition = "2021" publish = false [dependencies] -iced = { path = "../.." } +iced.workspace = true +iced.features = ["debug"] + +tracing-subscriber = "0.3" diff --git a/examples/gradient/src/main.rs b/examples/gradient/src/main.rs index 5eacd7a6..32b2e4aa 100644 --- a/examples/gradient/src/main.rs +++ b/examples/gradient/src/main.rs @@ -9,6 +9,8 @@ use iced::{ }; pub fn main() -> iced::Result { + tracing_subscriber::fmt::init(); + Gradient::run(Settings { window: window::Settings { transparent: true, |